qnty 0.0.8__py3-none-any.whl → 0.1.0__py3-none-any.whl

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.
Files changed (74) hide show
  1. qnty/__init__.py +140 -59
  2. qnty/constants/__init__.py +10 -0
  3. qnty/constants/numerical.py +18 -0
  4. qnty/constants/solvers.py +6 -0
  5. qnty/constants/tests.py +6 -0
  6. qnty/dimensions/__init__.py +23 -0
  7. qnty/dimensions/base.py +97 -0
  8. qnty/dimensions/field_dims.py +126 -0
  9. qnty/dimensions/field_dims.pyi +128 -0
  10. qnty/dimensions/signature.py +111 -0
  11. qnty/equations/__init__.py +4 -0
  12. qnty/equations/equation.py +220 -0
  13. qnty/equations/system.py +130 -0
  14. qnty/expressions/__init__.py +40 -0
  15. qnty/expressions/formatter.py +188 -0
  16. qnty/expressions/functions.py +74 -0
  17. qnty/expressions/nodes.py +701 -0
  18. qnty/expressions/types.py +70 -0
  19. qnty/extensions/plotting/__init__.py +0 -0
  20. qnty/extensions/reporting/__init__.py +0 -0
  21. qnty/problems/__init__.py +145 -0
  22. qnty/problems/composition.py +1031 -0
  23. qnty/problems/problem.py +695 -0
  24. qnty/problems/rules.py +145 -0
  25. qnty/problems/solving.py +1216 -0
  26. qnty/problems/validation.py +127 -0
  27. qnty/quantities/__init__.py +29 -0
  28. qnty/quantities/base_qnty.py +677 -0
  29. qnty/quantities/field_converters.py +24004 -0
  30. qnty/quantities/field_qnty.py +1012 -0
  31. qnty/quantities/field_setter.py +12320 -0
  32. qnty/quantities/field_vars.py +6325 -0
  33. qnty/quantities/field_vars.pyi +4191 -0
  34. qnty/solving/__init__.py +0 -0
  35. qnty/solving/manager.py +96 -0
  36. qnty/solving/order.py +403 -0
  37. qnty/solving/solvers/__init__.py +13 -0
  38. qnty/solving/solvers/base.py +82 -0
  39. qnty/solving/solvers/iterative.py +165 -0
  40. qnty/solving/solvers/simultaneous.py +475 -0
  41. qnty/units/__init__.py +1 -0
  42. qnty/units/field_units.py +10507 -0
  43. qnty/units/field_units.pyi +2461 -0
  44. qnty/units/prefixes.py +203 -0
  45. qnty/{unit.py → units/registry.py} +89 -61
  46. qnty/utils/__init__.py +16 -0
  47. qnty/utils/caching/__init__.py +23 -0
  48. qnty/utils/caching/manager.py +401 -0
  49. qnty/utils/error_handling/__init__.py +66 -0
  50. qnty/utils/error_handling/context.py +39 -0
  51. qnty/utils/error_handling/exceptions.py +96 -0
  52. qnty/utils/error_handling/handlers.py +171 -0
  53. qnty/utils/logging.py +40 -0
  54. qnty/utils/protocols.py +164 -0
  55. qnty/utils/scope_discovery.py +420 -0
  56. qnty-0.1.0.dist-info/METADATA +199 -0
  57. qnty-0.1.0.dist-info/RECORD +60 -0
  58. qnty/dimension.py +0 -186
  59. qnty/equation.py +0 -297
  60. qnty/expression.py +0 -553
  61. qnty/prefixes.py +0 -229
  62. qnty/unit_types/base.py +0 -47
  63. qnty/units.py +0 -8113
  64. qnty/variable.py +0 -300
  65. qnty/variable_types/base.py +0 -58
  66. qnty/variable_types/expression_variable.py +0 -106
  67. qnty/variable_types/typed_variable.py +0 -87
  68. qnty/variables.py +0 -2298
  69. qnty/variables.pyi +0 -6148
  70. qnty-0.0.8.dist-info/METADATA +0 -355
  71. qnty-0.0.8.dist-info/RECORD +0 -19
  72. /qnty/{unit_types → extensions}/__init__.py +0 -0
  73. /qnty/{variable_types → extensions/integration}/__init__.py +0 -0
  74. {qnty-0.0.8.dist-info → qnty-0.1.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,4191 @@
1
+ """
2
+ Type stubs for quantities module - Complete Edition.
3
+
4
+ Provides complete type hints for IDE autocomplete and type checking
5
+ for quantity classes and their setter relationships.
6
+ Contains 107 quantity types with 871 total units.
7
+
8
+ Auto-generated from unit_data.json.
9
+ """
10
+
11
+ from ..dimensions import field_dims as dim
12
+ from . import field_setter as ts
13
+ from .field_qnty import FieldQnty
14
+
15
+ # ===== CONVERTER TYPE STUBS =====
16
+ # Unit conversion handled by base ToUnitConverter and AsUnitConverter classes
17
+ # with dynamic __getattr__ for unit method type hints
18
+
19
+ # ===== QUANTITY CLASSES =====
20
+ # Type stubs for quantity classes with setter relationships
21
+
22
+ class AbsorbedDose(FieldQnty):
23
+ """
24
+ Type-safe absorbed radiation dose quantity with expression capabilities.
25
+
26
+ Constructor Options:
27
+ -------------------
28
+ - AbsorbedDose("variable_name") -> Create unknown absorbed radiation dose
29
+ - AbsorbedDose(value, "unit", "variable_name") -> Create known absorbed radiation dose
30
+
31
+ Examples:
32
+ ---------
33
+ >>> unknown = AbsorbedDose("pressure") # Unknown absorbed radiation dose
34
+ >>> known = AbsorbedDose(100, "erg_per_gram", "inlet_pressure") # Known absorbed radiation dose
35
+
36
+ Available units: "erg_per_gram", "gram_rad", "gray"
37
+ """
38
+
39
+ __slots__ = ()
40
+ _setter_class = ts.AbsorbedDoseSetter
41
+ _dimension = dim.ABSORBED_DOSE
42
+
43
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
44
+ def set(self, value: float, unit: str | None = None) -> ts.AbsorbedDoseSetter:
45
+ """
46
+ Create a setter for this absorbed radiation dose quantity.
47
+
48
+ Args:
49
+ value: The numeric value to set
50
+ unit: Optional unit string (for compatibility with base class)
51
+
52
+ Returns:
53
+ AbsorbedDoseSetter: A setter with unit properties like .meters, .inches, etc.
54
+
55
+ Example:
56
+ >>> length = Length("beam_length")
57
+ >>> length.set(100).millimeters # Sets to 100 mm
58
+ """
59
+ ...
60
+
61
+ class Acceleration(FieldQnty):
62
+ """
63
+ Type-safe acceleration quantity with expression capabilities.
64
+
65
+ Constructor Options:
66
+ -------------------
67
+ - Acceleration("variable_name") -> Create unknown acceleration
68
+ - Acceleration(value, "unit", "variable_name") -> Create known acceleration
69
+
70
+ Examples:
71
+ ---------
72
+ >>> unknown = Acceleration("pressure") # Unknown acceleration
73
+ >>> known = Acceleration(100, "meter_per_second_squared", "inlet_pressure") # Known acceleration
74
+
75
+ Available units: "meter_per_second_squared", "foot_per_second_squared"
76
+ """
77
+
78
+ __slots__ = ()
79
+ _setter_class = ts.AccelerationSetter
80
+ _dimension = dim.ACCELERATION
81
+
82
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
83
+ def set(self, value: float, unit: str | None = None) -> ts.AccelerationSetter:
84
+ """
85
+ Create a setter for this acceleration quantity.
86
+
87
+ Args:
88
+ value: The numeric value to set
89
+ unit: Optional unit string (for compatibility with base class)
90
+
91
+ Returns:
92
+ AccelerationSetter: A setter with unit properties like .meters, .inches, etc.
93
+
94
+ Example:
95
+ >>> length = Length("beam_length")
96
+ >>> length.set(100).millimeters # Sets to 100 mm
97
+ """
98
+ ...
99
+
100
+ class ActivationEnergy(FieldQnty):
101
+ """
102
+ Type-safe activation energy quantity with expression capabilities.
103
+
104
+ Constructor Options:
105
+ -------------------
106
+ - ActivationEnergy("variable_name") -> Create unknown activation energy
107
+ - ActivationEnergy(value, "unit", "variable_name") -> Create known activation energy
108
+
109
+ Examples:
110
+ ---------
111
+ >>> unknown = ActivationEnergy("pressure") # Unknown activation energy
112
+ >>> known = ActivationEnergy(100, "btu_per_pound_mole", "inlet_pressure") # Known activation energy
113
+
114
+ Available units: "btu_per_pound_mole", "calorie_mean_per_gram_mole", "joule_per_gram_mole"
115
+ """
116
+
117
+ __slots__ = ()
118
+ _setter_class = ts.ActivationEnergySetter
119
+ _dimension = dim.ACTIVATION_ENERGY
120
+
121
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
122
+ def set(self, value: float, unit: str | None = None) -> ts.ActivationEnergySetter:
123
+ """
124
+ Create a setter for this activation energy quantity.
125
+
126
+ Args:
127
+ value: The numeric value to set
128
+ unit: Optional unit string (for compatibility with base class)
129
+
130
+ Returns:
131
+ ActivationEnergySetter: A setter with unit properties like .meters, .inches, etc.
132
+
133
+ Example:
134
+ >>> length = Length("beam_length")
135
+ >>> length.set(100).millimeters # Sets to 100 mm
136
+ """
137
+ ...
138
+
139
+ class AmountOfSubstance(FieldQnty):
140
+ """
141
+ Type-safe amount of substance quantity with expression capabilities.
142
+
143
+ Constructor Options:
144
+ -------------------
145
+ - AmountOfSubstance("variable_name") -> Create unknown amount of substance
146
+ - AmountOfSubstance(value, "unit", "variable_name") -> Create known amount of substance
147
+
148
+ Examples:
149
+ ---------
150
+ >>> unknown = AmountOfSubstance("pressure") # Unknown amount of substance
151
+ >>> known = AmountOfSubstance(100, "kilogram_mol", "inlet_pressure") # Known amount of substance
152
+
153
+ Available units: "kilogram_mol", "mole", "pound_mole"
154
+ """
155
+
156
+ __slots__ = ()
157
+ _setter_class = ts.AmountOfSubstanceSetter
158
+ _dimension = dim.AMOUNT_OF_SUBSTANCE
159
+
160
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
161
+ def set(self, value: float, unit: str | None = None) -> ts.AmountOfSubstanceSetter:
162
+ """
163
+ Create a setter for this amount of substance quantity.
164
+
165
+ Args:
166
+ value: The numeric value to set
167
+ unit: Optional unit string (for compatibility with base class)
168
+
169
+ Returns:
170
+ AmountOfSubstanceSetter: A setter with unit properties like .meters, .inches, etc.
171
+
172
+ Example:
173
+ >>> length = Length("beam_length")
174
+ >>> length.set(100).millimeters # Sets to 100 mm
175
+ """
176
+ ...
177
+
178
+ class AnglePlane(FieldQnty):
179
+ """
180
+ Type-safe angle, plane quantity with expression capabilities.
181
+
182
+ Constructor Options:
183
+ -------------------
184
+ - AnglePlane("variable_name") -> Create unknown angle, plane
185
+ - AnglePlane(value, "unit", "variable_name") -> Create known angle, plane
186
+
187
+ Examples:
188
+ ---------
189
+ >>> unknown = AnglePlane("pressure") # Unknown angle, plane
190
+ >>> known = AnglePlane(100, "degree", "inlet_pressure") # Known angle, plane
191
+
192
+ Available units: "degree", "gon", "grade"
193
+ """
194
+
195
+ __slots__ = ()
196
+ _setter_class = ts.AnglePlaneSetter
197
+ _dimension = dim.ANGLE_PLANE
198
+
199
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
200
+ def set(self, value: float, unit: str | None = None) -> ts.AnglePlaneSetter:
201
+ """
202
+ Create a setter for this angle, plane quantity.
203
+
204
+ Args:
205
+ value: The numeric value to set
206
+ unit: Optional unit string (for compatibility with base class)
207
+
208
+ Returns:
209
+ AnglePlaneSetter: A setter with unit properties like .meters, .inches, etc.
210
+
211
+ Example:
212
+ >>> length = Length("beam_length")
213
+ >>> length.set(100).millimeters # Sets to 100 mm
214
+ """
215
+ ...
216
+
217
+ class AngleSolid(FieldQnty):
218
+ """
219
+ Type-safe angle, solid quantity with expression capabilities.
220
+
221
+ Constructor Options:
222
+ -------------------
223
+ - AngleSolid("variable_name") -> Create unknown angle, solid
224
+ - AngleSolid(value, "unit", "variable_name") -> Create known angle, solid
225
+
226
+ Examples:
227
+ ---------
228
+ >>> unknown = AngleSolid("pressure") # Unknown angle, solid
229
+ >>> known = AngleSolid(100, "spat", "inlet_pressure") # Known angle, solid
230
+
231
+ Available units: "spat", "square_degree", "square_gon"
232
+ """
233
+
234
+ __slots__ = ()
235
+ _setter_class = ts.AngleSolidSetter
236
+ _dimension = dim.ANGLE_SOLID
237
+
238
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
239
+ def set(self, value: float, unit: str | None = None) -> ts.AngleSolidSetter:
240
+ """
241
+ Create a setter for this angle, solid quantity.
242
+
243
+ Args:
244
+ value: The numeric value to set
245
+ unit: Optional unit string (for compatibility with base class)
246
+
247
+ Returns:
248
+ AngleSolidSetter: A setter with unit properties like .meters, .inches, etc.
249
+
250
+ Example:
251
+ >>> length = Length("beam_length")
252
+ >>> length.set(100).millimeters # Sets to 100 mm
253
+ """
254
+ ...
255
+
256
+ class AngularAcceleration(FieldQnty):
257
+ """
258
+ Type-safe angular acceleration quantity with expression capabilities.
259
+
260
+ Constructor Options:
261
+ -------------------
262
+ - AngularAcceleration("variable_name") -> Create unknown angular acceleration
263
+ - AngularAcceleration(value, "unit", "variable_name") -> Create known angular acceleration
264
+
265
+ Examples:
266
+ ---------
267
+ >>> unknown = AngularAcceleration("pressure") # Unknown angular acceleration
268
+ >>> known = AngularAcceleration(100, "radian_per_second_squared", "inlet_pressure") # Known angular acceleration
269
+
270
+ Available units: "radian_per_second_squared", "revolution_per_second_squared", "rpm_or_revolution_per_minute"
271
+ """
272
+
273
+ __slots__ = ()
274
+ _setter_class = ts.AngularAccelerationSetter
275
+ _dimension = dim.ANGULAR_ACCELERATION
276
+
277
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
278
+ def set(self, value: float, unit: str | None = None) -> ts.AngularAccelerationSetter:
279
+ """
280
+ Create a setter for this angular acceleration quantity.
281
+
282
+ Args:
283
+ value: The numeric value to set
284
+ unit: Optional unit string (for compatibility with base class)
285
+
286
+ Returns:
287
+ AngularAccelerationSetter: A setter with unit properties like .meters, .inches, etc.
288
+
289
+ Example:
290
+ >>> length = Length("beam_length")
291
+ >>> length.set(100).millimeters # Sets to 100 mm
292
+ """
293
+ ...
294
+
295
+ class AngularMomentum(FieldQnty):
296
+ """
297
+ Type-safe angular momentum quantity with expression capabilities.
298
+
299
+ Constructor Options:
300
+ -------------------
301
+ - AngularMomentum("variable_name") -> Create unknown angular momentum
302
+ - AngularMomentum(value, "unit", "variable_name") -> Create known angular momentum
303
+
304
+ Examples:
305
+ ---------
306
+ >>> unknown = AngularMomentum("pressure") # Unknown angular momentum
307
+ >>> known = AngularMomentum(100, "gram_centimeter_squared_per_second", "inlet_pressure") # Known angular momentum
308
+
309
+ Available units: "gram_centimeter_squared_per_second", "kilogram_meter_squared_per_second", "pound_force_square_foot_per_second"
310
+ """
311
+
312
+ __slots__ = ()
313
+ _setter_class = ts.AngularMomentumSetter
314
+ _dimension = dim.ANGULAR_MOMENTUM
315
+
316
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
317
+ def set(self, value: float, unit: str | None = None) -> ts.AngularMomentumSetter:
318
+ """
319
+ Create a setter for this angular momentum quantity.
320
+
321
+ Args:
322
+ value: The numeric value to set
323
+ unit: Optional unit string (for compatibility with base class)
324
+
325
+ Returns:
326
+ AngularMomentumSetter: A setter with unit properties like .meters, .inches, etc.
327
+
328
+ Example:
329
+ >>> length = Length("beam_length")
330
+ >>> length.set(100).millimeters # Sets to 100 mm
331
+ """
332
+ ...
333
+
334
+ class Area(FieldQnty):
335
+ """
336
+ Type-safe area quantity with expression capabilities.
337
+
338
+ Constructor Options:
339
+ -------------------
340
+ - Area("variable_name") -> Create unknown area
341
+ - Area(value, "unit", "variable_name") -> Create known area
342
+
343
+ Examples:
344
+ ---------
345
+ >>> unknown = Area("pressure") # Unknown area
346
+ >>> known = Area(100, "acre_general", "inlet_pressure") # Known area
347
+
348
+ Available units: "acre_general", "are", "arpent_quebec"
349
+ """
350
+
351
+ __slots__ = ()
352
+ _setter_class = ts.AreaSetter
353
+ _dimension = dim.AREA
354
+
355
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
356
+ def set(self, value: float, unit: str | None = None) -> ts.AreaSetter:
357
+ """
358
+ Create a setter for this area quantity.
359
+
360
+ Args:
361
+ value: The numeric value to set
362
+ unit: Optional unit string (for compatibility with base class)
363
+
364
+ Returns:
365
+ AreaSetter: A setter with unit properties like .meters, .inches, etc.
366
+
367
+ Example:
368
+ >>> length = Length("beam_length")
369
+ >>> length.set(100).millimeters # Sets to 100 mm
370
+ """
371
+ ...
372
+
373
+ class AreaPerUnitVolume(FieldQnty):
374
+ """
375
+ Type-safe area per unit volume quantity with expression capabilities.
376
+
377
+ Constructor Options:
378
+ -------------------
379
+ - AreaPerUnitVolume("variable_name") -> Create unknown area per unit volume
380
+ - AreaPerUnitVolume(value, "unit", "variable_name") -> Create known area per unit volume
381
+
382
+ Examples:
383
+ ---------
384
+ >>> unknown = AreaPerUnitVolume("pressure") # Unknown area per unit volume
385
+ >>> known = AreaPerUnitVolume(100, "square_centimeter_per_cubic_centimeter", "inlet_pressure") # Known area per unit volume
386
+
387
+ Available units: "square_centimeter_per_cubic_centimeter", "square_foot_per_cubic_foot", "square_inch_per_cubic_inch"
388
+ """
389
+
390
+ __slots__ = ()
391
+ _setter_class = ts.AreaPerUnitVolumeSetter
392
+ _dimension = dim.AREA_PER_UNIT_VOLUME
393
+
394
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
395
+ def set(self, value: float, unit: str | None = None) -> ts.AreaPerUnitVolumeSetter:
396
+ """
397
+ Create a setter for this area per unit volume quantity.
398
+
399
+ Args:
400
+ value: The numeric value to set
401
+ unit: Optional unit string (for compatibility with base class)
402
+
403
+ Returns:
404
+ AreaPerUnitVolumeSetter: A setter with unit properties like .meters, .inches, etc.
405
+
406
+ Example:
407
+ >>> length = Length("beam_length")
408
+ >>> length.set(100).millimeters # Sets to 100 mm
409
+ """
410
+ ...
411
+
412
+ class AtomicWeight(FieldQnty):
413
+ """
414
+ Type-safe atomic weight quantity with expression capabilities.
415
+
416
+ Constructor Options:
417
+ -------------------
418
+ - AtomicWeight("variable_name") -> Create unknown atomic weight
419
+ - AtomicWeight(value, "unit", "variable_name") -> Create known atomic weight
420
+
421
+ Examples:
422
+ ---------
423
+ >>> unknown = AtomicWeight("pressure") # Unknown atomic weight
424
+ >>> known = AtomicWeight(100, "atomic_mass_unit_12c", "inlet_pressure") # Known atomic weight
425
+
426
+ Available units: "atomic_mass_unit_12c", "grams_per_mole", "kilograms_per_kilomole"
427
+ """
428
+
429
+ __slots__ = ()
430
+ _setter_class = ts.AtomicWeightSetter
431
+ _dimension = dim.ATOMIC_WEIGHT
432
+
433
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
434
+ def set(self, value: float, unit: str | None = None) -> ts.AtomicWeightSetter:
435
+ """
436
+ Create a setter for this atomic weight quantity.
437
+
438
+ Args:
439
+ value: The numeric value to set
440
+ unit: Optional unit string (for compatibility with base class)
441
+
442
+ Returns:
443
+ AtomicWeightSetter: A setter with unit properties like .meters, .inches, etc.
444
+
445
+ Example:
446
+ >>> length = Length("beam_length")
447
+ >>> length.set(100).millimeters # Sets to 100 mm
448
+ """
449
+ ...
450
+
451
+ class Concentration(FieldQnty):
452
+ """
453
+ Type-safe concentration quantity with expression capabilities.
454
+
455
+ Constructor Options:
456
+ -------------------
457
+ - Concentration("variable_name") -> Create unknown concentration
458
+ - Concentration(value, "unit", "variable_name") -> Create known concentration
459
+
460
+ Examples:
461
+ ---------
462
+ >>> unknown = Concentration("pressure") # Unknown concentration
463
+ >>> known = Concentration(100, "grains_of_i_per_cubic_foot", "inlet_pressure") # Known concentration
464
+
465
+ Available units: "grains_of_i_per_cubic_foot", "grains_of_i_per_gallon_us"
466
+ """
467
+
468
+ __slots__ = ()
469
+ _setter_class = ts.ConcentrationSetter
470
+ _dimension = dim.CONCENTRATION
471
+
472
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
473
+ def set(self, value: float, unit: str | None = None) -> ts.ConcentrationSetter:
474
+ """
475
+ Create a setter for this concentration quantity.
476
+
477
+ Args:
478
+ value: The numeric value to set
479
+ unit: Optional unit string (for compatibility with base class)
480
+
481
+ Returns:
482
+ ConcentrationSetter: A setter with unit properties like .meters, .inches, etc.
483
+
484
+ Example:
485
+ >>> length = Length("beam_length")
486
+ >>> length.set(100).millimeters # Sets to 100 mm
487
+ """
488
+ ...
489
+
490
+ class Dimensionless(FieldQnty):
491
+ """
492
+ Type-safe dimensionless quantity with expression capabilities.
493
+
494
+ Constructor Options:
495
+ -------------------
496
+ - Dimensionless("variable_name") -> Create unknown dimensionless
497
+ - Dimensionless(value, "variable_name") -> Create known dimensionless
498
+
499
+ Examples:
500
+ ---------
501
+ >>> unknown = Dimensionless("efficiency") # Unknown dimensionless
502
+ >>> known = Dimensionless(0.85, "thermal_efficiency") # Known dimensionless
503
+ """
504
+
505
+ __slots__ = ()
506
+ _setter_class = ts.DimensionlessSetter
507
+ _dimension = dim.DIMENSIONLESS
508
+
509
+ def __init__(self, name_or_value: str | int | float, name: str | None = None, is_known: bool = True): ...
510
+ def set(self, value: float, unit: str | None = None) -> ts.DimensionlessSetter:
511
+ """
512
+ Create a setter for this dimensionless quantity.
513
+
514
+ Args:
515
+ value: The numeric value to set
516
+ unit: Optional unit string (for compatibility with base class)
517
+
518
+ Returns:
519
+ DimensionlessSetter: A setter with unit properties like .meters, .inches, etc.
520
+
521
+ Example:
522
+ >>> length = Length("beam_length")
523
+ >>> length.set(100).millimeters # Sets to 100 mm
524
+ """
525
+ ...
526
+
527
+ class DynamicFluidity(FieldQnty):
528
+ """
529
+ Type-safe dynamic fluidity quantity with expression capabilities.
530
+
531
+ Constructor Options:
532
+ -------------------
533
+ - DynamicFluidity("variable_name") -> Create unknown dynamic fluidity
534
+ - DynamicFluidity(value, "unit", "variable_name") -> Create known dynamic fluidity
535
+
536
+ Examples:
537
+ ---------
538
+ >>> unknown = DynamicFluidity("pressure") # Unknown dynamic fluidity
539
+ >>> known = DynamicFluidity(100, "meter_seconds_per_kilogram", "inlet_pressure") # Known dynamic fluidity
540
+
541
+ Available units: "meter_seconds_per_kilogram", "rhe", "square_foot_per_pound_second"
542
+ """
543
+
544
+ __slots__ = ()
545
+ _setter_class = ts.DynamicFluiditySetter
546
+ _dimension = dim.DYNAMIC_FLUIDITY
547
+
548
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
549
+ def set(self, value: float, unit: str | None = None) -> ts.DynamicFluiditySetter:
550
+ """
551
+ Create a setter for this dynamic fluidity quantity.
552
+
553
+ Args:
554
+ value: The numeric value to set
555
+ unit: Optional unit string (for compatibility with base class)
556
+
557
+ Returns:
558
+ DynamicFluiditySetter: A setter with unit properties like .meters, .inches, etc.
559
+
560
+ Example:
561
+ >>> length = Length("beam_length")
562
+ >>> length.set(100).millimeters # Sets to 100 mm
563
+ """
564
+ ...
565
+
566
+ class ElectricCapacitance(FieldQnty):
567
+ """
568
+ Type-safe electric capacitance quantity with expression capabilities.
569
+
570
+ Constructor Options:
571
+ -------------------
572
+ - ElectricCapacitance("variable_name") -> Create unknown electric capacitance
573
+ - ElectricCapacitance(value, "unit", "variable_name") -> Create known electric capacitance
574
+
575
+ Examples:
576
+ ---------
577
+ >>> unknown = ElectricCapacitance("pressure") # Unknown electric capacitance
578
+ >>> known = ElectricCapacitance(100, "cm", "inlet_pressure") # Known electric capacitance
579
+
580
+ Available units: "cm", "abfarad", "farad"
581
+ """
582
+
583
+ __slots__ = ()
584
+ _setter_class = ts.ElectricCapacitanceSetter
585
+ _dimension = dim.ELECTRIC_CAPACITANCE
586
+
587
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
588
+ def set(self, value: float, unit: str | None = None) -> ts.ElectricCapacitanceSetter:
589
+ """
590
+ Create a setter for this electric capacitance quantity.
591
+
592
+ Args:
593
+ value: The numeric value to set
594
+ unit: Optional unit string (for compatibility with base class)
595
+
596
+ Returns:
597
+ ElectricCapacitanceSetter: A setter with unit properties like .meters, .inches, etc.
598
+
599
+ Example:
600
+ >>> length = Length("beam_length")
601
+ >>> length.set(100).millimeters # Sets to 100 mm
602
+ """
603
+ ...
604
+
605
+ class ElectricCharge(FieldQnty):
606
+ """
607
+ Type-safe electric charge quantity with expression capabilities.
608
+
609
+ Constructor Options:
610
+ -------------------
611
+ - ElectricCharge("variable_name") -> Create unknown electric charge
612
+ - ElectricCharge(value, "unit", "variable_name") -> Create known electric charge
613
+
614
+ Examples:
615
+ ---------
616
+ >>> unknown = ElectricCharge("pressure") # Unknown electric charge
617
+ >>> known = ElectricCharge(100, "abcoulomb", "inlet_pressure") # Known electric charge
618
+
619
+ Available units: "abcoulomb", "ampere_hour", "coulomb"
620
+ """
621
+
622
+ __slots__ = ()
623
+ _setter_class = ts.ElectricChargeSetter
624
+ _dimension = dim.ELECTRIC_CHARGE
625
+
626
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
627
+ def set(self, value: float, unit: str | None = None) -> ts.ElectricChargeSetter:
628
+ """
629
+ Create a setter for this electric charge quantity.
630
+
631
+ Args:
632
+ value: The numeric value to set
633
+ unit: Optional unit string (for compatibility with base class)
634
+
635
+ Returns:
636
+ ElectricChargeSetter: A setter with unit properties like .meters, .inches, etc.
637
+
638
+ Example:
639
+ >>> length = Length("beam_length")
640
+ >>> length.set(100).millimeters # Sets to 100 mm
641
+ """
642
+ ...
643
+
644
+ class ElectricCurrentIntensity(FieldQnty):
645
+ """
646
+ Type-safe electric current intensity quantity with expression capabilities.
647
+
648
+ Constructor Options:
649
+ -------------------
650
+ - ElectricCurrentIntensity("variable_name") -> Create unknown electric current intensity
651
+ - ElectricCurrentIntensity(value, "unit", "variable_name") -> Create known electric current intensity
652
+
653
+ Examples:
654
+ ---------
655
+ >>> unknown = ElectricCurrentIntensity("pressure") # Unknown electric current intensity
656
+ >>> known = ElectricCurrentIntensity(100, "abampere", "inlet_pressure") # Known electric current intensity
657
+
658
+ Available units: "abampere", "ampere_intl_mean", "ampere_intl_us"
659
+ """
660
+
661
+ __slots__ = ()
662
+ _setter_class = ts.ElectricCurrentIntensitySetter
663
+ _dimension = dim.ELECTRIC_CURRENT_INTENSITY
664
+
665
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
666
+ def set(self, value: float, unit: str | None = None) -> ts.ElectricCurrentIntensitySetter:
667
+ """
668
+ Create a setter for this electric current intensity quantity.
669
+
670
+ Args:
671
+ value: The numeric value to set
672
+ unit: Optional unit string (for compatibility with base class)
673
+
674
+ Returns:
675
+ ElectricCurrentIntensitySetter: A setter with unit properties like .meters, .inches, etc.
676
+
677
+ Example:
678
+ >>> length = Length("beam_length")
679
+ >>> length.set(100).millimeters # Sets to 100 mm
680
+ """
681
+ ...
682
+
683
+ class ElectricDipoleMoment(FieldQnty):
684
+ """
685
+ Type-safe electric dipole moment quantity with expression capabilities.
686
+
687
+ Constructor Options:
688
+ -------------------
689
+ - ElectricDipoleMoment("variable_name") -> Create unknown electric dipole moment
690
+ - ElectricDipoleMoment(value, "unit", "variable_name") -> Create known electric dipole moment
691
+
692
+ Examples:
693
+ ---------
694
+ >>> unknown = ElectricDipoleMoment("pressure") # Unknown electric dipole moment
695
+ >>> known = ElectricDipoleMoment(100, "ampere_meter_second", "inlet_pressure") # Known electric dipole moment
696
+
697
+ Available units: "ampere_meter_second", "coulomb_meter", "debye"
698
+ """
699
+
700
+ __slots__ = ()
701
+ _setter_class = ts.ElectricDipoleMomentSetter
702
+ _dimension = dim.ELECTRIC_DIPOLE_MOMENT
703
+
704
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
705
+ def set(self, value: float, unit: str | None = None) -> ts.ElectricDipoleMomentSetter:
706
+ """
707
+ Create a setter for this electric dipole moment quantity.
708
+
709
+ Args:
710
+ value: The numeric value to set
711
+ unit: Optional unit string (for compatibility with base class)
712
+
713
+ Returns:
714
+ ElectricDipoleMomentSetter: A setter with unit properties like .meters, .inches, etc.
715
+
716
+ Example:
717
+ >>> length = Length("beam_length")
718
+ >>> length.set(100).millimeters # Sets to 100 mm
719
+ """
720
+ ...
721
+
722
+ class ElectricFieldStrength(FieldQnty):
723
+ """
724
+ Type-safe electric field strength quantity with expression capabilities.
725
+
726
+ Constructor Options:
727
+ -------------------
728
+ - ElectricFieldStrength("variable_name") -> Create unknown electric field strength
729
+ - ElectricFieldStrength(value, "unit", "variable_name") -> Create known electric field strength
730
+
731
+ Examples:
732
+ ---------
733
+ >>> unknown = ElectricFieldStrength("pressure") # Unknown electric field strength
734
+ >>> known = ElectricFieldStrength(100, "volt_per_centimeter", "inlet_pressure") # Known electric field strength
735
+
736
+ Available units: "volt_per_centimeter", "volt_per_meter"
737
+ """
738
+
739
+ __slots__ = ()
740
+ _setter_class = ts.ElectricFieldStrengthSetter
741
+ _dimension = dim.ELECTRIC_FIELD_STRENGTH
742
+
743
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
744
+ def set(self, value: float, unit: str | None = None) -> ts.ElectricFieldStrengthSetter:
745
+ """
746
+ Create a setter for this electric field strength quantity.
747
+
748
+ Args:
749
+ value: The numeric value to set
750
+ unit: Optional unit string (for compatibility with base class)
751
+
752
+ Returns:
753
+ ElectricFieldStrengthSetter: A setter with unit properties like .meters, .inches, etc.
754
+
755
+ Example:
756
+ >>> length = Length("beam_length")
757
+ >>> length.set(100).millimeters # Sets to 100 mm
758
+ """
759
+ ...
760
+
761
+ class ElectricInductance(FieldQnty):
762
+ """
763
+ Type-safe electric inductance quantity with expression capabilities.
764
+
765
+ Constructor Options:
766
+ -------------------
767
+ - ElectricInductance("variable_name") -> Create unknown electric inductance
768
+ - ElectricInductance(value, "unit", "variable_name") -> Create known electric inductance
769
+
770
+ Examples:
771
+ ---------
772
+ >>> unknown = ElectricInductance("pressure") # Unknown electric inductance
773
+ >>> known = ElectricInductance(100, "abhenry", "inlet_pressure") # Known electric inductance
774
+
775
+ Available units: "abhenry", "cm", "henry"
776
+ """
777
+
778
+ __slots__ = ()
779
+ _setter_class = ts.ElectricInductanceSetter
780
+ _dimension = dim.ELECTRIC_INDUCTANCE
781
+
782
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
783
+ def set(self, value: float, unit: str | None = None) -> ts.ElectricInductanceSetter:
784
+ """
785
+ Create a setter for this electric inductance quantity.
786
+
787
+ Args:
788
+ value: The numeric value to set
789
+ unit: Optional unit string (for compatibility with base class)
790
+
791
+ Returns:
792
+ ElectricInductanceSetter: A setter with unit properties like .meters, .inches, etc.
793
+
794
+ Example:
795
+ >>> length = Length("beam_length")
796
+ >>> length.set(100).millimeters # Sets to 100 mm
797
+ """
798
+ ...
799
+
800
+ class ElectricPotential(FieldQnty):
801
+ """
802
+ Type-safe electric potential quantity with expression capabilities.
803
+
804
+ Constructor Options:
805
+ -------------------
806
+ - ElectricPotential("variable_name") -> Create unknown electric potential
807
+ - ElectricPotential(value, "unit", "variable_name") -> Create known electric potential
808
+
809
+ Examples:
810
+ ---------
811
+ >>> unknown = ElectricPotential("pressure") # Unknown electric potential
812
+ >>> known = ElectricPotential(100, "abvolt", "inlet_pressure") # Known electric potential
813
+
814
+ Available units: "abvolt", "statvolt", "u_a_potential"
815
+ """
816
+
817
+ __slots__ = ()
818
+ _setter_class = ts.ElectricPotentialSetter
819
+ _dimension = dim.ELECTRIC_POTENTIAL
820
+
821
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
822
+ def set(self, value: float, unit: str | None = None) -> ts.ElectricPotentialSetter:
823
+ """
824
+ Create a setter for this electric potential quantity.
825
+
826
+ Args:
827
+ value: The numeric value to set
828
+ unit: Optional unit string (for compatibility with base class)
829
+
830
+ Returns:
831
+ ElectricPotentialSetter: A setter with unit properties like .meters, .inches, etc.
832
+
833
+ Example:
834
+ >>> length = Length("beam_length")
835
+ >>> length.set(100).millimeters # Sets to 100 mm
836
+ """
837
+ ...
838
+
839
+ class ElectricResistance(FieldQnty):
840
+ """
841
+ Type-safe electric resistance quantity with expression capabilities.
842
+
843
+ Constructor Options:
844
+ -------------------
845
+ - ElectricResistance("variable_name") -> Create unknown electric resistance
846
+ - ElectricResistance(value, "unit", "variable_name") -> Create known electric resistance
847
+
848
+ Examples:
849
+ ---------
850
+ >>> unknown = ElectricResistance("pressure") # Unknown electric resistance
851
+ >>> known = ElectricResistance(100, "abohm", "inlet_pressure") # Known electric resistance
852
+
853
+ Available units: "abohm", "jacobi", "lenz"
854
+ """
855
+
856
+ __slots__ = ()
857
+ _setter_class = ts.ElectricResistanceSetter
858
+ _dimension = dim.ELECTRIC_RESISTANCE
859
+
860
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
861
+ def set(self, value: float, unit: str | None = None) -> ts.ElectricResistanceSetter:
862
+ """
863
+ Create a setter for this electric resistance quantity.
864
+
865
+ Args:
866
+ value: The numeric value to set
867
+ unit: Optional unit string (for compatibility with base class)
868
+
869
+ Returns:
870
+ ElectricResistanceSetter: A setter with unit properties like .meters, .inches, etc.
871
+
872
+ Example:
873
+ >>> length = Length("beam_length")
874
+ >>> length.set(100).millimeters # Sets to 100 mm
875
+ """
876
+ ...
877
+
878
+ class ElectricalConductance(FieldQnty):
879
+ """
880
+ Type-safe electrical conductance quantity with expression capabilities.
881
+
882
+ Constructor Options:
883
+ -------------------
884
+ - ElectricalConductance("variable_name") -> Create unknown electrical conductance
885
+ - ElectricalConductance(value, "unit", "variable_name") -> Create known electrical conductance
886
+
887
+ Examples:
888
+ ---------
889
+ >>> unknown = ElectricalConductance("pressure") # Unknown electrical conductance
890
+ >>> known = ElectricalConductance(100, "emu_cgs", "inlet_pressure") # Known electrical conductance
891
+
892
+ Available units: "emu_cgs", "esu_cgs", "mho"
893
+ """
894
+
895
+ __slots__ = ()
896
+ _setter_class = ts.ElectricalConductanceSetter
897
+ _dimension = dim.ELECTRICAL_CONDUCTANCE
898
+
899
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
900
+ def set(self, value: float, unit: str | None = None) -> ts.ElectricalConductanceSetter:
901
+ """
902
+ Create a setter for this electrical conductance quantity.
903
+
904
+ Args:
905
+ value: The numeric value to set
906
+ unit: Optional unit string (for compatibility with base class)
907
+
908
+ Returns:
909
+ ElectricalConductanceSetter: A setter with unit properties like .meters, .inches, etc.
910
+
911
+ Example:
912
+ >>> length = Length("beam_length")
913
+ >>> length.set(100).millimeters # Sets to 100 mm
914
+ """
915
+ ...
916
+
917
+ class ElectricalPermittivity(FieldQnty):
918
+ """
919
+ Type-safe electrical permittivity quantity with expression capabilities.
920
+
921
+ Constructor Options:
922
+ -------------------
923
+ - ElectricalPermittivity("variable_name") -> Create unknown electrical permittivity
924
+ - ElectricalPermittivity(value, "unit", "variable_name") -> Create known electrical permittivity
925
+
926
+ Examples:
927
+ ---------
928
+ >>> unknown = ElectricalPermittivity("pressure") # Unknown electrical permittivity
929
+ >>> known = ElectricalPermittivity(100, "farad_per_meter", "inlet_pressure") # Known electrical permittivity
930
+
931
+ Available units: "farad_per_meter"
932
+ """
933
+
934
+ __slots__ = ()
935
+ _setter_class = ts.ElectricalPermittivitySetter
936
+ _dimension = dim.ELECTRICAL_PERMITTIVITY
937
+
938
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
939
+ def set(self, value: float, unit: str | None = None) -> ts.ElectricalPermittivitySetter:
940
+ """
941
+ Create a setter for this electrical permittivity quantity.
942
+
943
+ Args:
944
+ value: The numeric value to set
945
+ unit: Optional unit string (for compatibility with base class)
946
+
947
+ Returns:
948
+ ElectricalPermittivitySetter: A setter with unit properties like .meters, .inches, etc.
949
+
950
+ Example:
951
+ >>> length = Length("beam_length")
952
+ >>> length.set(100).millimeters # Sets to 100 mm
953
+ """
954
+ ...
955
+
956
+ class ElectricalResistivity(FieldQnty):
957
+ """
958
+ Type-safe electrical resistivity quantity with expression capabilities.
959
+
960
+ Constructor Options:
961
+ -------------------
962
+ - ElectricalResistivity("variable_name") -> Create unknown electrical resistivity
963
+ - ElectricalResistivity(value, "unit", "variable_name") -> Create known electrical resistivity
964
+
965
+ Examples:
966
+ ---------
967
+ >>> unknown = ElectricalResistivity("pressure") # Unknown electrical resistivity
968
+ >>> known = ElectricalResistivity(100, "circular_mil_ohm_per_foot", "inlet_pressure") # Known electrical resistivity
969
+
970
+ Available units: "circular_mil_ohm_per_foot", "emu_cgs", "microhm_inch"
971
+ """
972
+
973
+ __slots__ = ()
974
+ _setter_class = ts.ElectricalResistivitySetter
975
+ _dimension = dim.ELECTRICAL_RESISTIVITY
976
+
977
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
978
+ def set(self, value: float, unit: str | None = None) -> ts.ElectricalResistivitySetter:
979
+ """
980
+ Create a setter for this electrical resistivity quantity.
981
+
982
+ Args:
983
+ value: The numeric value to set
984
+ unit: Optional unit string (for compatibility with base class)
985
+
986
+ Returns:
987
+ ElectricalResistivitySetter: A setter with unit properties like .meters, .inches, etc.
988
+
989
+ Example:
990
+ >>> length = Length("beam_length")
991
+ >>> length.set(100).millimeters # Sets to 100 mm
992
+ """
993
+ ...
994
+
995
+ class EnergyFlux(FieldQnty):
996
+ """
997
+ Type-safe energy flux quantity with expression capabilities.
998
+
999
+ Constructor Options:
1000
+ -------------------
1001
+ - EnergyFlux("variable_name") -> Create unknown energy flux
1002
+ - EnergyFlux(value, "unit", "variable_name") -> Create known energy flux
1003
+
1004
+ Examples:
1005
+ ---------
1006
+ >>> unknown = EnergyFlux("pressure") # Unknown energy flux
1007
+ >>> known = EnergyFlux(100, "btu_per_square_foot_per_hour", "inlet_pressure") # Known energy flux
1008
+
1009
+ Available units: "btu_per_square_foot_per_hour", "calorie_per_square_centimeter_per_second", "celsius_heat_units_chu"
1010
+ """
1011
+
1012
+ __slots__ = ()
1013
+ _setter_class = ts.EnergyFluxSetter
1014
+ _dimension = dim.ENERGY_FLUX
1015
+
1016
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1017
+ def set(self, value: float, unit: str | None = None) -> ts.EnergyFluxSetter:
1018
+ """
1019
+ Create a setter for this energy flux quantity.
1020
+
1021
+ Args:
1022
+ value: The numeric value to set
1023
+ unit: Optional unit string (for compatibility with base class)
1024
+
1025
+ Returns:
1026
+ EnergyFluxSetter: A setter with unit properties like .meters, .inches, etc.
1027
+
1028
+ Example:
1029
+ >>> length = Length("beam_length")
1030
+ >>> length.set(100).millimeters # Sets to 100 mm
1031
+ """
1032
+ ...
1033
+
1034
+ class EnergyHeatWork(FieldQnty):
1035
+ """
1036
+ Type-safe energy, heat, work quantity with expression capabilities.
1037
+
1038
+ Constructor Options:
1039
+ -------------------
1040
+ - EnergyHeatWork("variable_name") -> Create unknown energy, heat, work
1041
+ - EnergyHeatWork(value, "unit", "variable_name") -> Create known energy, heat, work
1042
+
1043
+ Examples:
1044
+ ---------
1045
+ >>> unknown = EnergyHeatWork("pressure") # Unknown energy, heat, work
1046
+ >>> known = EnergyHeatWork(100, "barrel_oil_equivalent_or_equivalent_barrel", "inlet_pressure") # Known energy, heat, work
1047
+
1048
+ Available units: "barrel_oil_equivalent_or_equivalent_barrel", "billion_electronvolt", "british_thermal_unit_4circ_mathrmc"
1049
+ """
1050
+
1051
+ __slots__ = ()
1052
+ _setter_class = ts.EnergyHeatWorkSetter
1053
+ _dimension = dim.ENERGY_HEAT_WORK
1054
+
1055
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1056
+ def set(self, value: float, unit: str | None = None) -> ts.EnergyHeatWorkSetter:
1057
+ """
1058
+ Create a setter for this energy, heat, work quantity.
1059
+
1060
+ Args:
1061
+ value: The numeric value to set
1062
+ unit: Optional unit string (for compatibility with base class)
1063
+
1064
+ Returns:
1065
+ EnergyHeatWorkSetter: A setter with unit properties like .meters, .inches, etc.
1066
+
1067
+ Example:
1068
+ >>> length = Length("beam_length")
1069
+ >>> length.set(100).millimeters # Sets to 100 mm
1070
+ """
1071
+ ...
1072
+
1073
+ class EnergyPerUnitArea(FieldQnty):
1074
+ """
1075
+ Type-safe energy per unit area quantity with expression capabilities.
1076
+
1077
+ Constructor Options:
1078
+ -------------------
1079
+ - EnergyPerUnitArea("variable_name") -> Create unknown energy per unit area
1080
+ - EnergyPerUnitArea(value, "unit", "variable_name") -> Create known energy per unit area
1081
+
1082
+ Examples:
1083
+ ---------
1084
+ >>> unknown = EnergyPerUnitArea("pressure") # Unknown energy per unit area
1085
+ >>> known = EnergyPerUnitArea(100, "british_thermal_unit_per_square_foot", "inlet_pressure") # Known energy per unit area
1086
+
1087
+ Available units: "british_thermal_unit_per_square_foot", "joule_per_square_meter", "langley"
1088
+ """
1089
+
1090
+ __slots__ = ()
1091
+ _setter_class = ts.EnergyPerUnitAreaSetter
1092
+ _dimension = dim.ENERGY_PER_UNIT_AREA
1093
+
1094
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1095
+ def set(self, value: float, unit: str | None = None) -> ts.EnergyPerUnitAreaSetter:
1096
+ """
1097
+ Create a setter for this energy per unit area quantity.
1098
+
1099
+ Args:
1100
+ value: The numeric value to set
1101
+ unit: Optional unit string (for compatibility with base class)
1102
+
1103
+ Returns:
1104
+ EnergyPerUnitAreaSetter: A setter with unit properties like .meters, .inches, etc.
1105
+
1106
+ Example:
1107
+ >>> length = Length("beam_length")
1108
+ >>> length.set(100).millimeters # Sets to 100 mm
1109
+ """
1110
+ ...
1111
+
1112
+ class Force(FieldQnty):
1113
+ """
1114
+ Type-safe force quantity with expression capabilities.
1115
+
1116
+ Constructor Options:
1117
+ -------------------
1118
+ - Force("variable_name") -> Create unknown force
1119
+ - Force(value, "unit", "variable_name") -> Create known force
1120
+
1121
+ Examples:
1122
+ ---------
1123
+ >>> unknown = Force("pressure") # Unknown force
1124
+ >>> known = Force(100, "crinal", "inlet_pressure") # Known force
1125
+
1126
+ Available units: "crinal", "dyne", "funal"
1127
+ """
1128
+
1129
+ __slots__ = ()
1130
+ _setter_class = ts.ForceSetter
1131
+ _dimension = dim.FORCE
1132
+
1133
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1134
+ def set(self, value: float, unit: str | None = None) -> ts.ForceSetter:
1135
+ """
1136
+ Create a setter for this force quantity.
1137
+
1138
+ Args:
1139
+ value: The numeric value to set
1140
+ unit: Optional unit string (for compatibility with base class)
1141
+
1142
+ Returns:
1143
+ ForceSetter: A setter with unit properties like .meters, .inches, etc.
1144
+
1145
+ Example:
1146
+ >>> length = Length("beam_length")
1147
+ >>> length.set(100).millimeters # Sets to 100 mm
1148
+ """
1149
+ ...
1150
+
1151
+ class ForceBody(FieldQnty):
1152
+ """
1153
+ Type-safe force (body) quantity with expression capabilities.
1154
+
1155
+ Constructor Options:
1156
+ -------------------
1157
+ - ForceBody("variable_name") -> Create unknown force (body)
1158
+ - ForceBody(value, "unit", "variable_name") -> Create known force (body)
1159
+
1160
+ Examples:
1161
+ ---------
1162
+ >>> unknown = ForceBody("pressure") # Unknown force (body)
1163
+ >>> known = ForceBody(100, "dyne_per_cubic_centimeter", "inlet_pressure") # Known force (body)
1164
+
1165
+ Available units: "dyne_per_cubic_centimeter", "kilogram_force_per_cubic_centimeter", "kilogram_force_per_cubic_meter"
1166
+ """
1167
+
1168
+ __slots__ = ()
1169
+ _setter_class = ts.ForceBodySetter
1170
+ _dimension = dim.FORCE_BODY
1171
+
1172
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1173
+ def set(self, value: float, unit: str | None = None) -> ts.ForceBodySetter:
1174
+ """
1175
+ Create a setter for this force (body) quantity.
1176
+
1177
+ Args:
1178
+ value: The numeric value to set
1179
+ unit: Optional unit string (for compatibility with base class)
1180
+
1181
+ Returns:
1182
+ ForceBodySetter: A setter with unit properties like .meters, .inches, etc.
1183
+
1184
+ Example:
1185
+ >>> length = Length("beam_length")
1186
+ >>> length.set(100).millimeters # Sets to 100 mm
1187
+ """
1188
+ ...
1189
+
1190
+ class ForcePerUnitMass(FieldQnty):
1191
+ """
1192
+ Type-safe force per unit mass quantity with expression capabilities.
1193
+
1194
+ Constructor Options:
1195
+ -------------------
1196
+ - ForcePerUnitMass("variable_name") -> Create unknown force per unit mass
1197
+ - ForcePerUnitMass(value, "unit", "variable_name") -> Create known force per unit mass
1198
+
1199
+ Examples:
1200
+ ---------
1201
+ >>> unknown = ForcePerUnitMass("pressure") # Unknown force per unit mass
1202
+ >>> known = ForcePerUnitMass(100, "dyne_per_gram", "inlet_pressure") # Known force per unit mass
1203
+
1204
+ Available units: "dyne_per_gram", "kilogram_force_per_kilogram", "newton_per_kilogram"
1205
+ """
1206
+
1207
+ __slots__ = ()
1208
+ _setter_class = ts.ForcePerUnitMassSetter
1209
+ _dimension = dim.FORCE_PER_UNIT_MASS
1210
+
1211
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1212
+ def set(self, value: float, unit: str | None = None) -> ts.ForcePerUnitMassSetter:
1213
+ """
1214
+ Create a setter for this force per unit mass quantity.
1215
+
1216
+ Args:
1217
+ value: The numeric value to set
1218
+ unit: Optional unit string (for compatibility with base class)
1219
+
1220
+ Returns:
1221
+ ForcePerUnitMassSetter: A setter with unit properties like .meters, .inches, etc.
1222
+
1223
+ Example:
1224
+ >>> length = Length("beam_length")
1225
+ >>> length.set(100).millimeters # Sets to 100 mm
1226
+ """
1227
+ ...
1228
+
1229
+ class FrequencyVoltageRatio(FieldQnty):
1230
+ """
1231
+ Type-safe frequency voltage ratio quantity with expression capabilities.
1232
+
1233
+ Constructor Options:
1234
+ -------------------
1235
+ - FrequencyVoltageRatio("variable_name") -> Create unknown frequency voltage ratio
1236
+ - FrequencyVoltageRatio(value, "unit", "variable_name") -> Create known frequency voltage ratio
1237
+
1238
+ Examples:
1239
+ ---------
1240
+ >>> unknown = FrequencyVoltageRatio("pressure") # Unknown frequency voltage ratio
1241
+ >>> known = FrequencyVoltageRatio(100, "cycles_per_second_per_volt", "inlet_pressure") # Known frequency voltage ratio
1242
+
1243
+ Available units: "cycles_per_second_per_volt", "hertz_per_volt", "terahertz_per_volt"
1244
+ """
1245
+
1246
+ __slots__ = ()
1247
+ _setter_class = ts.FrequencyVoltageRatioSetter
1248
+ _dimension = dim.FREQUENCY_VOLTAGE_RATIO
1249
+
1250
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1251
+ def set(self, value: float, unit: str | None = None) -> ts.FrequencyVoltageRatioSetter:
1252
+ """
1253
+ Create a setter for this frequency voltage ratio quantity.
1254
+
1255
+ Args:
1256
+ value: The numeric value to set
1257
+ unit: Optional unit string (for compatibility with base class)
1258
+
1259
+ Returns:
1260
+ FrequencyVoltageRatioSetter: A setter with unit properties like .meters, .inches, etc.
1261
+
1262
+ Example:
1263
+ >>> length = Length("beam_length")
1264
+ >>> length.set(100).millimeters # Sets to 100 mm
1265
+ """
1266
+ ...
1267
+
1268
+ class FuelConsumption(FieldQnty):
1269
+ """
1270
+ Type-safe fuel consumption quantity with expression capabilities.
1271
+
1272
+ Constructor Options:
1273
+ -------------------
1274
+ - FuelConsumption("variable_name") -> Create unknown fuel consumption
1275
+ - FuelConsumption(value, "unit", "variable_name") -> Create known fuel consumption
1276
+
1277
+ Examples:
1278
+ ---------
1279
+ >>> unknown = FuelConsumption("pressure") # Unknown fuel consumption
1280
+ >>> known = FuelConsumption(100, "unit_100_km_per_liter", "inlet_pressure") # Known fuel consumption
1281
+
1282
+ Available units: "unit_100_km_per_liter", "gallons_uk", "gallons_us"
1283
+ """
1284
+
1285
+ __slots__ = ()
1286
+ _setter_class = ts.FuelConsumptionSetter
1287
+ _dimension = dim.FUEL_CONSUMPTION
1288
+
1289
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1290
+ def set(self, value: float, unit: str | None = None) -> ts.FuelConsumptionSetter:
1291
+ """
1292
+ Create a setter for this fuel consumption quantity.
1293
+
1294
+ Args:
1295
+ value: The numeric value to set
1296
+ unit: Optional unit string (for compatibility with base class)
1297
+
1298
+ Returns:
1299
+ FuelConsumptionSetter: A setter with unit properties like .meters, .inches, etc.
1300
+
1301
+ Example:
1302
+ >>> length = Length("beam_length")
1303
+ >>> length.set(100).millimeters # Sets to 100 mm
1304
+ """
1305
+ ...
1306
+
1307
+ class HeatOfCombustion(FieldQnty):
1308
+ """
1309
+ Type-safe heat of combustion quantity with expression capabilities.
1310
+
1311
+ Constructor Options:
1312
+ -------------------
1313
+ - HeatOfCombustion("variable_name") -> Create unknown heat of combustion
1314
+ - HeatOfCombustion(value, "unit", "variable_name") -> Create known heat of combustion
1315
+
1316
+ Examples:
1317
+ ---------
1318
+ >>> unknown = HeatOfCombustion("pressure") # Unknown heat of combustion
1319
+ >>> known = HeatOfCombustion(100, "british_thermal_unit_per_pound", "inlet_pressure") # Known heat of combustion
1320
+
1321
+ Available units: "british_thermal_unit_per_pound", "calorie_per_gram", "chu_per_pound"
1322
+ """
1323
+
1324
+ __slots__ = ()
1325
+ _setter_class = ts.HeatOfCombustionSetter
1326
+ _dimension = dim.HEAT_OF_COMBUSTION
1327
+
1328
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1329
+ def set(self, value: float, unit: str | None = None) -> ts.HeatOfCombustionSetter:
1330
+ """
1331
+ Create a setter for this heat of combustion quantity.
1332
+
1333
+ Args:
1334
+ value: The numeric value to set
1335
+ unit: Optional unit string (for compatibility with base class)
1336
+
1337
+ Returns:
1338
+ HeatOfCombustionSetter: A setter with unit properties like .meters, .inches, etc.
1339
+
1340
+ Example:
1341
+ >>> length = Length("beam_length")
1342
+ >>> length.set(100).millimeters # Sets to 100 mm
1343
+ """
1344
+ ...
1345
+
1346
+ class HeatOfFusion(FieldQnty):
1347
+ """
1348
+ Type-safe heat of fusion quantity with expression capabilities.
1349
+
1350
+ Constructor Options:
1351
+ -------------------
1352
+ - HeatOfFusion("variable_name") -> Create unknown heat of fusion
1353
+ - HeatOfFusion(value, "unit", "variable_name") -> Create known heat of fusion
1354
+
1355
+ Examples:
1356
+ ---------
1357
+ >>> unknown = HeatOfFusion("pressure") # Unknown heat of fusion
1358
+ >>> known = HeatOfFusion(100, "british_thermal_unit_mean", "inlet_pressure") # Known heat of fusion
1359
+
1360
+ Available units: "british_thermal_unit_mean", "british_thermal_unit_per_pound", "calorie_per_gram"
1361
+ """
1362
+
1363
+ __slots__ = ()
1364
+ _setter_class = ts.HeatOfFusionSetter
1365
+ _dimension = dim.HEAT_OF_FUSION
1366
+
1367
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1368
+ def set(self, value: float, unit: str | None = None) -> ts.HeatOfFusionSetter:
1369
+ """
1370
+ Create a setter for this heat of fusion quantity.
1371
+
1372
+ Args:
1373
+ value: The numeric value to set
1374
+ unit: Optional unit string (for compatibility with base class)
1375
+
1376
+ Returns:
1377
+ HeatOfFusionSetter: A setter with unit properties like .meters, .inches, etc.
1378
+
1379
+ Example:
1380
+ >>> length = Length("beam_length")
1381
+ >>> length.set(100).millimeters # Sets to 100 mm
1382
+ """
1383
+ ...
1384
+
1385
+ class HeatOfVaporization(FieldQnty):
1386
+ """
1387
+ Type-safe heat of vaporization quantity with expression capabilities.
1388
+
1389
+ Constructor Options:
1390
+ -------------------
1391
+ - HeatOfVaporization("variable_name") -> Create unknown heat of vaporization
1392
+ - HeatOfVaporization(value, "unit", "variable_name") -> Create known heat of vaporization
1393
+
1394
+ Examples:
1395
+ ---------
1396
+ >>> unknown = HeatOfVaporization("pressure") # Unknown heat of vaporization
1397
+ >>> known = HeatOfVaporization(100, "british_thermal_unit_per_pound", "inlet_pressure") # Known heat of vaporization
1398
+
1399
+ Available units: "british_thermal_unit_per_pound", "calorie_per_gram", "chu_per_pound"
1400
+ """
1401
+
1402
+ __slots__ = ()
1403
+ _setter_class = ts.HeatOfVaporizationSetter
1404
+ _dimension = dim.HEAT_OF_VAPORIZATION
1405
+
1406
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1407
+ def set(self, value: float, unit: str | None = None) -> ts.HeatOfVaporizationSetter:
1408
+ """
1409
+ Create a setter for this heat of vaporization quantity.
1410
+
1411
+ Args:
1412
+ value: The numeric value to set
1413
+ unit: Optional unit string (for compatibility with base class)
1414
+
1415
+ Returns:
1416
+ HeatOfVaporizationSetter: A setter with unit properties like .meters, .inches, etc.
1417
+
1418
+ Example:
1419
+ >>> length = Length("beam_length")
1420
+ >>> length.set(100).millimeters # Sets to 100 mm
1421
+ """
1422
+ ...
1423
+
1424
+ class HeatTransferCoefficient(FieldQnty):
1425
+ """
1426
+ Type-safe heat transfer coefficient quantity with expression capabilities.
1427
+
1428
+ Constructor Options:
1429
+ -------------------
1430
+ - HeatTransferCoefficient("variable_name") -> Create unknown heat transfer coefficient
1431
+ - HeatTransferCoefficient(value, "unit", "variable_name") -> Create known heat transfer coefficient
1432
+
1433
+ Examples:
1434
+ ---------
1435
+ >>> unknown = HeatTransferCoefficient("pressure") # Unknown heat transfer coefficient
1436
+ >>> known = HeatTransferCoefficient(100, "btu_per_square_foot_per_hour_per_degree_fahrenheit_or_rankine", "inlet_pressure") # Known heat transfer coefficient
1437
+
1438
+ Available units: "btu_per_square_foot_per_hour_per_degree_fahrenheit_or_rankine", "watt_per_square_meter_per_degree_celsius_or_kelvin"
1439
+ """
1440
+
1441
+ __slots__ = ()
1442
+ _setter_class = ts.HeatTransferCoefficientSetter
1443
+ _dimension = dim.HEAT_TRANSFER_COEFFICIENT
1444
+
1445
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1446
+ def set(self, value: float, unit: str | None = None) -> ts.HeatTransferCoefficientSetter:
1447
+ """
1448
+ Create a setter for this heat transfer coefficient quantity.
1449
+
1450
+ Args:
1451
+ value: The numeric value to set
1452
+ unit: Optional unit string (for compatibility with base class)
1453
+
1454
+ Returns:
1455
+ HeatTransferCoefficientSetter: A setter with unit properties like .meters, .inches, etc.
1456
+
1457
+ Example:
1458
+ >>> length = Length("beam_length")
1459
+ >>> length.set(100).millimeters # Sets to 100 mm
1460
+ """
1461
+ ...
1462
+
1463
+ class Illuminance(FieldQnty):
1464
+ """
1465
+ Type-safe illuminance quantity with expression capabilities.
1466
+
1467
+ Constructor Options:
1468
+ -------------------
1469
+ - Illuminance("variable_name") -> Create unknown illuminance
1470
+ - Illuminance(value, "unit", "variable_name") -> Create known illuminance
1471
+
1472
+ Examples:
1473
+ ---------
1474
+ >>> unknown = Illuminance("pressure") # Unknown illuminance
1475
+ >>> known = Illuminance(100, "foot_candle", "inlet_pressure") # Known illuminance
1476
+
1477
+ Available units: "foot_candle", "lux", "nox"
1478
+ """
1479
+
1480
+ __slots__ = ()
1481
+ _setter_class = ts.IlluminanceSetter
1482
+ _dimension = dim.ILLUMINANCE
1483
+
1484
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1485
+ def set(self, value: float, unit: str | None = None) -> ts.IlluminanceSetter:
1486
+ """
1487
+ Create a setter for this illuminance quantity.
1488
+
1489
+ Args:
1490
+ value: The numeric value to set
1491
+ unit: Optional unit string (for compatibility with base class)
1492
+
1493
+ Returns:
1494
+ IlluminanceSetter: A setter with unit properties like .meters, .inches, etc.
1495
+
1496
+ Example:
1497
+ >>> length = Length("beam_length")
1498
+ >>> length.set(100).millimeters # Sets to 100 mm
1499
+ """
1500
+ ...
1501
+
1502
+ class KineticEnergyOfTurbulence(FieldQnty):
1503
+ """
1504
+ Type-safe kinetic energy of turbulence quantity with expression capabilities.
1505
+
1506
+ Constructor Options:
1507
+ -------------------
1508
+ - KineticEnergyOfTurbulence("variable_name") -> Create unknown kinetic energy of turbulence
1509
+ - KineticEnergyOfTurbulence(value, "unit", "variable_name") -> Create known kinetic energy of turbulence
1510
+
1511
+ Examples:
1512
+ ---------
1513
+ >>> unknown = KineticEnergyOfTurbulence("pressure") # Unknown kinetic energy of turbulence
1514
+ >>> known = KineticEnergyOfTurbulence(100, "square_foot_per_second_squared", "inlet_pressure") # Known kinetic energy of turbulence
1515
+
1516
+ Available units: "square_foot_per_second_squared", "square_meters_per_second_squared"
1517
+ """
1518
+
1519
+ __slots__ = ()
1520
+ _setter_class = ts.KineticEnergyOfTurbulenceSetter
1521
+ _dimension = dim.KINETIC_ENERGY_OF_TURBULENCE
1522
+
1523
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1524
+ def set(self, value: float, unit: str | None = None) -> ts.KineticEnergyOfTurbulenceSetter:
1525
+ """
1526
+ Create a setter for this kinetic energy of turbulence quantity.
1527
+
1528
+ Args:
1529
+ value: The numeric value to set
1530
+ unit: Optional unit string (for compatibility with base class)
1531
+
1532
+ Returns:
1533
+ KineticEnergyOfTurbulenceSetter: A setter with unit properties like .meters, .inches, etc.
1534
+
1535
+ Example:
1536
+ >>> length = Length("beam_length")
1537
+ >>> length.set(100).millimeters # Sets to 100 mm
1538
+ """
1539
+ ...
1540
+
1541
+ class Length(FieldQnty):
1542
+ """
1543
+ Type-safe length quantity with expression capabilities.
1544
+
1545
+ Constructor Options:
1546
+ -------------------
1547
+ - Length("variable_name") -> Create unknown length
1548
+ - Length(value, "unit", "variable_name") -> Create known length
1549
+
1550
+ Examples:
1551
+ ---------
1552
+ >>> unknown = Length("pressure") # Unknown length
1553
+ >>> known = Length(100, "ngstr_m", "inlet_pressure") # Known length
1554
+
1555
+ Available units: "ngstr_m", "arpent_quebec", "astronomic_unit"
1556
+ """
1557
+
1558
+ __slots__ = ()
1559
+ _setter_class = ts.LengthSetter
1560
+ _dimension = dim.LENGTH
1561
+
1562
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1563
+ def set(self, value: float, unit: str | None = None) -> ts.LengthSetter:
1564
+ """
1565
+ Create a setter for this length quantity.
1566
+
1567
+ Args:
1568
+ value: The numeric value to set
1569
+ unit: Optional unit string (for compatibility with base class)
1570
+
1571
+ Returns:
1572
+ LengthSetter: A setter with unit properties like .meters, .inches, etc.
1573
+
1574
+ Example:
1575
+ >>> length = Length("beam_length")
1576
+ >>> length.set(100).millimeters # Sets to 100 mm
1577
+ """
1578
+ ...
1579
+
1580
+ class LinearMassDensity(FieldQnty):
1581
+ """
1582
+ Type-safe linear mass density quantity with expression capabilities.
1583
+
1584
+ Constructor Options:
1585
+ -------------------
1586
+ - LinearMassDensity("variable_name") -> Create unknown linear mass density
1587
+ - LinearMassDensity(value, "unit", "variable_name") -> Create known linear mass density
1588
+
1589
+ Examples:
1590
+ ---------
1591
+ >>> unknown = LinearMassDensity("pressure") # Unknown linear mass density
1592
+ >>> known = LinearMassDensity(100, "denier", "inlet_pressure") # Known linear mass density
1593
+
1594
+ Available units: "denier", "kilogram_per_centimeter", "kilogram_per_meter"
1595
+ """
1596
+
1597
+ __slots__ = ()
1598
+ _setter_class = ts.LinearMassDensitySetter
1599
+ _dimension = dim.LINEAR_MASS_DENSITY
1600
+
1601
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1602
+ def set(self, value: float, unit: str | None = None) -> ts.LinearMassDensitySetter:
1603
+ """
1604
+ Create a setter for this linear mass density quantity.
1605
+
1606
+ Args:
1607
+ value: The numeric value to set
1608
+ unit: Optional unit string (for compatibility with base class)
1609
+
1610
+ Returns:
1611
+ LinearMassDensitySetter: A setter with unit properties like .meters, .inches, etc.
1612
+
1613
+ Example:
1614
+ >>> length = Length("beam_length")
1615
+ >>> length.set(100).millimeters # Sets to 100 mm
1616
+ """
1617
+ ...
1618
+
1619
+ class LinearMomentum(FieldQnty):
1620
+ """
1621
+ Type-safe linear momentum quantity with expression capabilities.
1622
+
1623
+ Constructor Options:
1624
+ -------------------
1625
+ - LinearMomentum("variable_name") -> Create unknown linear momentum
1626
+ - LinearMomentum(value, "unit", "variable_name") -> Create known linear momentum
1627
+
1628
+ Examples:
1629
+ ---------
1630
+ >>> unknown = LinearMomentum("pressure") # Unknown linear momentum
1631
+ >>> known = LinearMomentum(100, "foot_pounds_force_per_hour", "inlet_pressure") # Known linear momentum
1632
+
1633
+ Available units: "foot_pounds_force_per_hour", "foot_pounds_force_per_minute", "foot_pounds_force_per_second"
1634
+ """
1635
+
1636
+ __slots__ = ()
1637
+ _setter_class = ts.LinearMomentumSetter
1638
+ _dimension = dim.LINEAR_MOMENTUM
1639
+
1640
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1641
+ def set(self, value: float, unit: str | None = None) -> ts.LinearMomentumSetter:
1642
+ """
1643
+ Create a setter for this linear momentum quantity.
1644
+
1645
+ Args:
1646
+ value: The numeric value to set
1647
+ unit: Optional unit string (for compatibility with base class)
1648
+
1649
+ Returns:
1650
+ LinearMomentumSetter: A setter with unit properties like .meters, .inches, etc.
1651
+
1652
+ Example:
1653
+ >>> length = Length("beam_length")
1654
+ >>> length.set(100).millimeters # Sets to 100 mm
1655
+ """
1656
+ ...
1657
+
1658
+ class LuminanceSelf(FieldQnty):
1659
+ """
1660
+ Type-safe luminance (self) quantity with expression capabilities.
1661
+
1662
+ Constructor Options:
1663
+ -------------------
1664
+ - LuminanceSelf("variable_name") -> Create unknown luminance (self)
1665
+ - LuminanceSelf(value, "unit", "variable_name") -> Create known luminance (self)
1666
+
1667
+ Examples:
1668
+ ---------
1669
+ >>> unknown = LuminanceSelf("pressure") # Unknown luminance (self)
1670
+ >>> known = LuminanceSelf(100, "apostilb", "inlet_pressure") # Known luminance (self)
1671
+
1672
+ Available units: "apostilb", "blondel", "candela_per_square_meter"
1673
+ """
1674
+
1675
+ __slots__ = ()
1676
+ _setter_class = ts.LuminanceSelfSetter
1677
+ _dimension = dim.LUMINANCE_SELF
1678
+
1679
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1680
+ def set(self, value: float, unit: str | None = None) -> ts.LuminanceSelfSetter:
1681
+ """
1682
+ Create a setter for this luminance (self) quantity.
1683
+
1684
+ Args:
1685
+ value: The numeric value to set
1686
+ unit: Optional unit string (for compatibility with base class)
1687
+
1688
+ Returns:
1689
+ LuminanceSelfSetter: A setter with unit properties like .meters, .inches, etc.
1690
+
1691
+ Example:
1692
+ >>> length = Length("beam_length")
1693
+ >>> length.set(100).millimeters # Sets to 100 mm
1694
+ """
1695
+ ...
1696
+
1697
+ class LuminousFlux(FieldQnty):
1698
+ """
1699
+ Type-safe luminous flux quantity with expression capabilities.
1700
+
1701
+ Constructor Options:
1702
+ -------------------
1703
+ - LuminousFlux("variable_name") -> Create unknown luminous flux
1704
+ - LuminousFlux(value, "unit", "variable_name") -> Create known luminous flux
1705
+
1706
+ Examples:
1707
+ ---------
1708
+ >>> unknown = LuminousFlux("pressure") # Unknown luminous flux
1709
+ >>> known = LuminousFlux(100, "candela_steradian", "inlet_pressure") # Known luminous flux
1710
+
1711
+ Available units: "candela_steradian", "lumen"
1712
+ """
1713
+
1714
+ __slots__ = ()
1715
+ _setter_class = ts.LuminousFluxSetter
1716
+ _dimension = dim.LUMINOUS_FLUX
1717
+
1718
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1719
+ def set(self, value: float, unit: str | None = None) -> ts.LuminousFluxSetter:
1720
+ """
1721
+ Create a setter for this luminous flux quantity.
1722
+
1723
+ Args:
1724
+ value: The numeric value to set
1725
+ unit: Optional unit string (for compatibility with base class)
1726
+
1727
+ Returns:
1728
+ LuminousFluxSetter: A setter with unit properties like .meters, .inches, etc.
1729
+
1730
+ Example:
1731
+ >>> length = Length("beam_length")
1732
+ >>> length.set(100).millimeters # Sets to 100 mm
1733
+ """
1734
+ ...
1735
+
1736
+ class LuminousIntensity(FieldQnty):
1737
+ """
1738
+ Type-safe luminous intensity quantity with expression capabilities.
1739
+
1740
+ Constructor Options:
1741
+ -------------------
1742
+ - LuminousIntensity("variable_name") -> Create unknown luminous intensity
1743
+ - LuminousIntensity(value, "unit", "variable_name") -> Create known luminous intensity
1744
+
1745
+ Examples:
1746
+ ---------
1747
+ >>> unknown = LuminousIntensity("pressure") # Unknown luminous intensity
1748
+ >>> known = LuminousIntensity(100, "candela", "inlet_pressure") # Known luminous intensity
1749
+
1750
+ Available units: "candela", "candle_international", "carcel"
1751
+ """
1752
+
1753
+ __slots__ = ()
1754
+ _setter_class = ts.LuminousIntensitySetter
1755
+ _dimension = dim.LUMINOUS_INTENSITY
1756
+
1757
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1758
+ def set(self, value: float, unit: str | None = None) -> ts.LuminousIntensitySetter:
1759
+ """
1760
+ Create a setter for this luminous intensity quantity.
1761
+
1762
+ Args:
1763
+ value: The numeric value to set
1764
+ unit: Optional unit string (for compatibility with base class)
1765
+
1766
+ Returns:
1767
+ LuminousIntensitySetter: A setter with unit properties like .meters, .inches, etc.
1768
+
1769
+ Example:
1770
+ >>> length = Length("beam_length")
1771
+ >>> length.set(100).millimeters # Sets to 100 mm
1772
+ """
1773
+ ...
1774
+
1775
+ class MagneticField(FieldQnty):
1776
+ """
1777
+ Type-safe magnetic field quantity with expression capabilities.
1778
+
1779
+ Constructor Options:
1780
+ -------------------
1781
+ - MagneticField("variable_name") -> Create unknown magnetic field
1782
+ - MagneticField(value, "unit", "variable_name") -> Create known magnetic field
1783
+
1784
+ Examples:
1785
+ ---------
1786
+ >>> unknown = MagneticField("pressure") # Unknown magnetic field
1787
+ >>> known = MagneticField(100, "ampere_per_meter", "inlet_pressure") # Known magnetic field
1788
+
1789
+ Available units: "ampere_per_meter", "lenz", "oersted"
1790
+ """
1791
+
1792
+ __slots__ = ()
1793
+ _setter_class = ts.MagneticFieldSetter
1794
+ _dimension = dim.MAGNETIC_FIELD
1795
+
1796
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1797
+ def set(self, value: float, unit: str | None = None) -> ts.MagneticFieldSetter:
1798
+ """
1799
+ Create a setter for this magnetic field quantity.
1800
+
1801
+ Args:
1802
+ value: The numeric value to set
1803
+ unit: Optional unit string (for compatibility with base class)
1804
+
1805
+ Returns:
1806
+ MagneticFieldSetter: A setter with unit properties like .meters, .inches, etc.
1807
+
1808
+ Example:
1809
+ >>> length = Length("beam_length")
1810
+ >>> length.set(100).millimeters # Sets to 100 mm
1811
+ """
1812
+ ...
1813
+
1814
+ class MagneticFlux(FieldQnty):
1815
+ """
1816
+ Type-safe magnetic flux quantity with expression capabilities.
1817
+
1818
+ Constructor Options:
1819
+ -------------------
1820
+ - MagneticFlux("variable_name") -> Create unknown magnetic flux
1821
+ - MagneticFlux(value, "unit", "variable_name") -> Create known magnetic flux
1822
+
1823
+ Examples:
1824
+ ---------
1825
+ >>> unknown = MagneticFlux("pressure") # Unknown magnetic flux
1826
+ >>> known = MagneticFlux(100, "kapp_line", "inlet_pressure") # Known magnetic flux
1827
+
1828
+ Available units: "kapp_line", "line", "maxwell"
1829
+ """
1830
+
1831
+ __slots__ = ()
1832
+ _setter_class = ts.MagneticFluxSetter
1833
+ _dimension = dim.MAGNETIC_FLUX
1834
+
1835
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1836
+ def set(self, value: float, unit: str | None = None) -> ts.MagneticFluxSetter:
1837
+ """
1838
+ Create a setter for this magnetic flux quantity.
1839
+
1840
+ Args:
1841
+ value: The numeric value to set
1842
+ unit: Optional unit string (for compatibility with base class)
1843
+
1844
+ Returns:
1845
+ MagneticFluxSetter: A setter with unit properties like .meters, .inches, etc.
1846
+
1847
+ Example:
1848
+ >>> length = Length("beam_length")
1849
+ >>> length.set(100).millimeters # Sets to 100 mm
1850
+ """
1851
+ ...
1852
+
1853
+ class MagneticInductionFieldStrength(FieldQnty):
1854
+ """
1855
+ Type-safe magnetic induction field strength quantity with expression capabilities.
1856
+
1857
+ Constructor Options:
1858
+ -------------------
1859
+ - MagneticInductionFieldStrength("variable_name") -> Create unknown magnetic induction field strength
1860
+ - MagneticInductionFieldStrength(value, "unit", "variable_name") -> Create known magnetic induction field strength
1861
+
1862
+ Examples:
1863
+ ---------
1864
+ >>> unknown = MagneticInductionFieldStrength("pressure") # Unknown magnetic induction field strength
1865
+ >>> known = MagneticInductionFieldStrength(100, "gamma", "inlet_pressure") # Known magnetic induction field strength
1866
+
1867
+ Available units: "gamma", "gauss", "line_per_square_centimeter"
1868
+ """
1869
+
1870
+ __slots__ = ()
1871
+ _setter_class = ts.MagneticInductionFieldStrengthSetter
1872
+ _dimension = dim.MAGNETIC_INDUCTION_FIELD_STRENGTH
1873
+
1874
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1875
+ def set(self, value: float, unit: str | None = None) -> ts.MagneticInductionFieldStrengthSetter:
1876
+ """
1877
+ Create a setter for this magnetic induction field strength quantity.
1878
+
1879
+ Args:
1880
+ value: The numeric value to set
1881
+ unit: Optional unit string (for compatibility with base class)
1882
+
1883
+ Returns:
1884
+ MagneticInductionFieldStrengthSetter: A setter with unit properties like .meters, .inches, etc.
1885
+
1886
+ Example:
1887
+ >>> length = Length("beam_length")
1888
+ >>> length.set(100).millimeters # Sets to 100 mm
1889
+ """
1890
+ ...
1891
+
1892
+ class MagneticMoment(FieldQnty):
1893
+ """
1894
+ Type-safe magnetic moment quantity with expression capabilities.
1895
+
1896
+ Constructor Options:
1897
+ -------------------
1898
+ - MagneticMoment("variable_name") -> Create unknown magnetic moment
1899
+ - MagneticMoment(value, "unit", "variable_name") -> Create known magnetic moment
1900
+
1901
+ Examples:
1902
+ ---------
1903
+ >>> unknown = MagneticMoment("pressure") # Unknown magnetic moment
1904
+ >>> known = MagneticMoment(100, "bohr_magneton", "inlet_pressure") # Known magnetic moment
1905
+
1906
+ Available units: "bohr_magneton", "joule_per_tesla", "nuclear_magneton"
1907
+ """
1908
+
1909
+ __slots__ = ()
1910
+ _setter_class = ts.MagneticMomentSetter
1911
+ _dimension = dim.MAGNETIC_MOMENT
1912
+
1913
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1914
+ def set(self, value: float, unit: str | None = None) -> ts.MagneticMomentSetter:
1915
+ """
1916
+ Create a setter for this magnetic moment quantity.
1917
+
1918
+ Args:
1919
+ value: The numeric value to set
1920
+ unit: Optional unit string (for compatibility with base class)
1921
+
1922
+ Returns:
1923
+ MagneticMomentSetter: A setter with unit properties like .meters, .inches, etc.
1924
+
1925
+ Example:
1926
+ >>> length = Length("beam_length")
1927
+ >>> length.set(100).millimeters # Sets to 100 mm
1928
+ """
1929
+ ...
1930
+
1931
+ class MagneticPermeability(FieldQnty):
1932
+ """
1933
+ Type-safe magnetic permeability quantity with expression capabilities.
1934
+
1935
+ Constructor Options:
1936
+ -------------------
1937
+ - MagneticPermeability("variable_name") -> Create unknown magnetic permeability
1938
+ - MagneticPermeability(value, "unit", "variable_name") -> Create known magnetic permeability
1939
+
1940
+ Examples:
1941
+ ---------
1942
+ >>> unknown = MagneticPermeability("pressure") # Unknown magnetic permeability
1943
+ >>> known = MagneticPermeability(100, "henrys_per_meter", "inlet_pressure") # Known magnetic permeability
1944
+
1945
+ Available units: "henrys_per_meter", "newton_per_square_ampere"
1946
+ """
1947
+
1948
+ __slots__ = ()
1949
+ _setter_class = ts.MagneticPermeabilitySetter
1950
+ _dimension = dim.MAGNETIC_PERMEABILITY
1951
+
1952
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1953
+ def set(self, value: float, unit: str | None = None) -> ts.MagneticPermeabilitySetter:
1954
+ """
1955
+ Create a setter for this magnetic permeability quantity.
1956
+
1957
+ Args:
1958
+ value: The numeric value to set
1959
+ unit: Optional unit string (for compatibility with base class)
1960
+
1961
+ Returns:
1962
+ MagneticPermeabilitySetter: A setter with unit properties like .meters, .inches, etc.
1963
+
1964
+ Example:
1965
+ >>> length = Length("beam_length")
1966
+ >>> length.set(100).millimeters # Sets to 100 mm
1967
+ """
1968
+ ...
1969
+
1970
+ class MagnetomotiveForce(FieldQnty):
1971
+ """
1972
+ Type-safe magnetomotive force quantity with expression capabilities.
1973
+
1974
+ Constructor Options:
1975
+ -------------------
1976
+ - MagnetomotiveForce("variable_name") -> Create unknown magnetomotive force
1977
+ - MagnetomotiveForce(value, "unit", "variable_name") -> Create known magnetomotive force
1978
+
1979
+ Examples:
1980
+ ---------
1981
+ >>> unknown = MagnetomotiveForce("pressure") # Unknown magnetomotive force
1982
+ >>> known = MagnetomotiveForce(100, "abampere_turn", "inlet_pressure") # Known magnetomotive force
1983
+
1984
+ Available units: "abampere_turn", "ampere", "ampere_turn"
1985
+ """
1986
+
1987
+ __slots__ = ()
1988
+ _setter_class = ts.MagnetomotiveForceSetter
1989
+ _dimension = dim.MAGNETOMOTIVE_FORCE
1990
+
1991
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
1992
+ def set(self, value: float, unit: str | None = None) -> ts.MagnetomotiveForceSetter:
1993
+ """
1994
+ Create a setter for this magnetomotive force quantity.
1995
+
1996
+ Args:
1997
+ value: The numeric value to set
1998
+ unit: Optional unit string (for compatibility with base class)
1999
+
2000
+ Returns:
2001
+ MagnetomotiveForceSetter: A setter with unit properties like .meters, .inches, etc.
2002
+
2003
+ Example:
2004
+ >>> length = Length("beam_length")
2005
+ >>> length.set(100).millimeters # Sets to 100 mm
2006
+ """
2007
+ ...
2008
+
2009
+ class Mass(FieldQnty):
2010
+ """
2011
+ Type-safe mass quantity with expression capabilities.
2012
+
2013
+ Constructor Options:
2014
+ -------------------
2015
+ - Mass("variable_name") -> Create unknown mass
2016
+ - Mass(value, "unit", "variable_name") -> Create known mass
2017
+
2018
+ Examples:
2019
+ ---------
2020
+ >>> unknown = Mass("pressure") # Unknown mass
2021
+ >>> known = Mass(100, "slug", "inlet_pressure") # Known mass
2022
+
2023
+ Available units: "slug", "atomic_mass_unit_12_mathrmc", "carat_metric"
2024
+ """
2025
+
2026
+ __slots__ = ()
2027
+ _setter_class = ts.MassSetter
2028
+ _dimension = dim.MASS
2029
+
2030
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2031
+ def set(self, value: float, unit: str | None = None) -> ts.MassSetter:
2032
+ """
2033
+ Create a setter for this mass quantity.
2034
+
2035
+ Args:
2036
+ value: The numeric value to set
2037
+ unit: Optional unit string (for compatibility with base class)
2038
+
2039
+ Returns:
2040
+ MassSetter: A setter with unit properties like .meters, .inches, etc.
2041
+
2042
+ Example:
2043
+ >>> length = Length("beam_length")
2044
+ >>> length.set(100).millimeters # Sets to 100 mm
2045
+ """
2046
+ ...
2047
+
2048
+ class MassDensity(FieldQnty):
2049
+ """
2050
+ Type-safe mass density quantity with expression capabilities.
2051
+
2052
+ Constructor Options:
2053
+ -------------------
2054
+ - MassDensity("variable_name") -> Create unknown mass density
2055
+ - MassDensity(value, "unit", "variable_name") -> Create known mass density
2056
+
2057
+ Examples:
2058
+ ---------
2059
+ >>> unknown = MassDensity("pressure") # Unknown mass density
2060
+ >>> known = MassDensity(100, "gram_per_cubic_centimeter", "inlet_pressure") # Known mass density
2061
+
2062
+ Available units: "gram_per_cubic_centimeter", "gram_per_cubic_decimeter", "gram_per_cubic_meter"
2063
+ """
2064
+
2065
+ __slots__ = ()
2066
+ _setter_class = ts.MassDensitySetter
2067
+ _dimension = dim.MASS_DENSITY
2068
+
2069
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2070
+ def set(self, value: float, unit: str | None = None) -> ts.MassDensitySetter:
2071
+ """
2072
+ Create a setter for this mass density quantity.
2073
+
2074
+ Args:
2075
+ value: The numeric value to set
2076
+ unit: Optional unit string (for compatibility with base class)
2077
+
2078
+ Returns:
2079
+ MassDensitySetter: A setter with unit properties like .meters, .inches, etc.
2080
+
2081
+ Example:
2082
+ >>> length = Length("beam_length")
2083
+ >>> length.set(100).millimeters # Sets to 100 mm
2084
+ """
2085
+ ...
2086
+
2087
+ class MassFlowRate(FieldQnty):
2088
+ """
2089
+ Type-safe mass flow rate quantity with expression capabilities.
2090
+
2091
+ Constructor Options:
2092
+ -------------------
2093
+ - MassFlowRate("variable_name") -> Create unknown mass flow rate
2094
+ - MassFlowRate(value, "unit", "variable_name") -> Create known mass flow rate
2095
+
2096
+ Examples:
2097
+ ---------
2098
+ >>> unknown = MassFlowRate("pressure") # Unknown mass flow rate
2099
+ >>> known = MassFlowRate(100, "kilograms_per_day", "inlet_pressure") # Known mass flow rate
2100
+
2101
+ Available units: "kilograms_per_day", "kilograms_per_hour", "kilograms_per_minute"
2102
+ """
2103
+
2104
+ __slots__ = ()
2105
+ _setter_class = ts.MassFlowRateSetter
2106
+ _dimension = dim.MASS_FLOW_RATE
2107
+
2108
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2109
+ def set(self, value: float, unit: str | None = None) -> ts.MassFlowRateSetter:
2110
+ """
2111
+ Create a setter for this mass flow rate quantity.
2112
+
2113
+ Args:
2114
+ value: The numeric value to set
2115
+ unit: Optional unit string (for compatibility with base class)
2116
+
2117
+ Returns:
2118
+ MassFlowRateSetter: A setter with unit properties like .meters, .inches, etc.
2119
+
2120
+ Example:
2121
+ >>> length = Length("beam_length")
2122
+ >>> length.set(100).millimeters # Sets to 100 mm
2123
+ """
2124
+ ...
2125
+
2126
+ class MassFlux(FieldQnty):
2127
+ """
2128
+ Type-safe mass flux quantity with expression capabilities.
2129
+
2130
+ Constructor Options:
2131
+ -------------------
2132
+ - MassFlux("variable_name") -> Create unknown mass flux
2133
+ - MassFlux(value, "unit", "variable_name") -> Create known mass flux
2134
+
2135
+ Examples:
2136
+ ---------
2137
+ >>> unknown = MassFlux("pressure") # Unknown mass flux
2138
+ >>> known = MassFlux(100, "kilogram_per_square_meter_per_day", "inlet_pressure") # Known mass flux
2139
+
2140
+ Available units: "kilogram_per_square_meter_per_day", "kilogram_per_square_meter_per_hour", "kilogram_per_square_meter_per_minute"
2141
+ """
2142
+
2143
+ __slots__ = ()
2144
+ _setter_class = ts.MassFluxSetter
2145
+ _dimension = dim.MASS_FLUX
2146
+
2147
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2148
+ def set(self, value: float, unit: str | None = None) -> ts.MassFluxSetter:
2149
+ """
2150
+ Create a setter for this mass flux quantity.
2151
+
2152
+ Args:
2153
+ value: The numeric value to set
2154
+ unit: Optional unit string (for compatibility with base class)
2155
+
2156
+ Returns:
2157
+ MassFluxSetter: A setter with unit properties like .meters, .inches, etc.
2158
+
2159
+ Example:
2160
+ >>> length = Length("beam_length")
2161
+ >>> length.set(100).millimeters # Sets to 100 mm
2162
+ """
2163
+ ...
2164
+
2165
+ class MassFractionOfI(FieldQnty):
2166
+ """
2167
+ Type-safe mass fraction of "i" quantity with expression capabilities.
2168
+
2169
+ Constructor Options:
2170
+ -------------------
2171
+ - MassFractionOfI("variable_name") -> Create unknown mass fraction of "i"
2172
+ - MassFractionOfI(value, "unit", "variable_name") -> Create known mass fraction of "i"
2173
+
2174
+ Examples:
2175
+ ---------
2176
+ >>> unknown = MassFractionOfI("pressure") # Unknown mass fraction of "i"
2177
+ >>> known = MassFractionOfI(100, "grains_of_i_per_pound_total", "inlet_pressure") # Known mass fraction of "i"
2178
+
2179
+ Available units: "grains_of_i_per_pound_total", "gram_of_i_per_kilogram_total", "kilogram_of_i_per_kilogram_total"
2180
+ """
2181
+
2182
+ __slots__ = ()
2183
+ _setter_class = ts.MassFractionOfISetter
2184
+ _dimension = dim.MASS_FRACTION_OF_I
2185
+
2186
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2187
+ def set(self, value: float, unit: str | None = None) -> ts.MassFractionOfISetter:
2188
+ """
2189
+ Create a setter for this mass fraction of "i" quantity.
2190
+
2191
+ Args:
2192
+ value: The numeric value to set
2193
+ unit: Optional unit string (for compatibility with base class)
2194
+
2195
+ Returns:
2196
+ MassFractionOfISetter: A setter with unit properties like .meters, .inches, etc.
2197
+
2198
+ Example:
2199
+ >>> length = Length("beam_length")
2200
+ >>> length.set(100).millimeters # Sets to 100 mm
2201
+ """
2202
+ ...
2203
+
2204
+ class MassTransferCoefficient(FieldQnty):
2205
+ """
2206
+ Type-safe mass transfer coefficient quantity with expression capabilities.
2207
+
2208
+ Constructor Options:
2209
+ -------------------
2210
+ - MassTransferCoefficient("variable_name") -> Create unknown mass transfer coefficient
2211
+ - MassTransferCoefficient(value, "unit", "variable_name") -> Create known mass transfer coefficient
2212
+
2213
+ Examples:
2214
+ ---------
2215
+ >>> unknown = MassTransferCoefficient("pressure") # Unknown mass transfer coefficient
2216
+ >>> known = MassTransferCoefficient(100, "gram_per_square_centimeter_per_second", "inlet_pressure") # Known mass transfer coefficient
2217
+
2218
+ Available units: "gram_per_square_centimeter_per_second", "kilogram_per_square_meter_per_second", "pounds_force_per_cubic_foot_per_hour"
2219
+ """
2220
+
2221
+ __slots__ = ()
2222
+ _setter_class = ts.MassTransferCoefficientSetter
2223
+ _dimension = dim.MASS_TRANSFER_COEFFICIENT
2224
+
2225
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2226
+ def set(self, value: float, unit: str | None = None) -> ts.MassTransferCoefficientSetter:
2227
+ """
2228
+ Create a setter for this mass transfer coefficient quantity.
2229
+
2230
+ Args:
2231
+ value: The numeric value to set
2232
+ unit: Optional unit string (for compatibility with base class)
2233
+
2234
+ Returns:
2235
+ MassTransferCoefficientSetter: A setter with unit properties like .meters, .inches, etc.
2236
+
2237
+ Example:
2238
+ >>> length = Length("beam_length")
2239
+ >>> length.set(100).millimeters # Sets to 100 mm
2240
+ """
2241
+ ...
2242
+
2243
+ class MolalityOfSoluteI(FieldQnty):
2244
+ """
2245
+ Type-safe molality of solute "i" quantity with expression capabilities.
2246
+
2247
+ Constructor Options:
2248
+ -------------------
2249
+ - MolalityOfSoluteI("variable_name") -> Create unknown molality of solute "i"
2250
+ - MolalityOfSoluteI(value, "unit", "variable_name") -> Create known molality of solute "i"
2251
+
2252
+ Examples:
2253
+ ---------
2254
+ >>> unknown = MolalityOfSoluteI("pressure") # Unknown molality of solute "i"
2255
+ >>> known = MolalityOfSoluteI(100, "gram_moles_of_i_per_kilogram", "inlet_pressure") # Known molality of solute "i"
2256
+
2257
+ Available units: "gram_moles_of_i_per_kilogram", "kilogram_mols_of_i_per_kilogram", "kmols_of_i_per_kilogram"
2258
+ """
2259
+
2260
+ __slots__ = ()
2261
+ _setter_class = ts.MolalityOfSoluteISetter
2262
+ _dimension = dim.MOLALITY_OF_SOLUTE_I
2263
+
2264
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2265
+ def set(self, value: float, unit: str | None = None) -> ts.MolalityOfSoluteISetter:
2266
+ """
2267
+ Create a setter for this molality of solute "i" quantity.
2268
+
2269
+ Args:
2270
+ value: The numeric value to set
2271
+ unit: Optional unit string (for compatibility with base class)
2272
+
2273
+ Returns:
2274
+ MolalityOfSoluteISetter: A setter with unit properties like .meters, .inches, etc.
2275
+
2276
+ Example:
2277
+ >>> length = Length("beam_length")
2278
+ >>> length.set(100).millimeters # Sets to 100 mm
2279
+ """
2280
+ ...
2281
+
2282
+ class MolarConcentrationByMass(FieldQnty):
2283
+ """
2284
+ Type-safe molar concentration by mass quantity with expression capabilities.
2285
+
2286
+ Constructor Options:
2287
+ -------------------
2288
+ - MolarConcentrationByMass("variable_name") -> Create unknown molar concentration by mass
2289
+ - MolarConcentrationByMass(value, "unit", "variable_name") -> Create known molar concentration by mass
2290
+
2291
+ Examples:
2292
+ ---------
2293
+ >>> unknown = MolarConcentrationByMass("pressure") # Unknown molar concentration by mass
2294
+ >>> known = MolarConcentrationByMass(100, "gram_mole_or_mole_per_gram", "inlet_pressure") # Known molar concentration by mass
2295
+
2296
+ Available units: "gram_mole_or_mole_per_gram", "gram_mole_or_mole_per_kilogram", "kilogram_mole_or_kmol_per_kilogram"
2297
+ """
2298
+
2299
+ __slots__ = ()
2300
+ _setter_class = ts.MolarConcentrationByMassSetter
2301
+ _dimension = dim.MOLAR_CONCENTRATION_BY_MASS
2302
+
2303
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2304
+ def set(self, value: float, unit: str | None = None) -> ts.MolarConcentrationByMassSetter:
2305
+ """
2306
+ Create a setter for this molar concentration by mass quantity.
2307
+
2308
+ Args:
2309
+ value: The numeric value to set
2310
+ unit: Optional unit string (for compatibility with base class)
2311
+
2312
+ Returns:
2313
+ MolarConcentrationByMassSetter: A setter with unit properties like .meters, .inches, etc.
2314
+
2315
+ Example:
2316
+ >>> length = Length("beam_length")
2317
+ >>> length.set(100).millimeters # Sets to 100 mm
2318
+ """
2319
+ ...
2320
+
2321
+ class MolarFlowRate(FieldQnty):
2322
+ """
2323
+ Type-safe molar flow rate quantity with expression capabilities.
2324
+
2325
+ Constructor Options:
2326
+ -------------------
2327
+ - MolarFlowRate("variable_name") -> Create unknown molar flow rate
2328
+ - MolarFlowRate(value, "unit", "variable_name") -> Create known molar flow rate
2329
+
2330
+ Examples:
2331
+ ---------
2332
+ >>> unknown = MolarFlowRate("pressure") # Unknown molar flow rate
2333
+ >>> known = MolarFlowRate(100, "gram_mole_per_day", "inlet_pressure") # Known molar flow rate
2334
+
2335
+ Available units: "gram_mole_per_day", "gram_mole_per_hour", "gram_mole_per_minute"
2336
+ """
2337
+
2338
+ __slots__ = ()
2339
+ _setter_class = ts.MolarFlowRateSetter
2340
+ _dimension = dim.MOLAR_FLOW_RATE
2341
+
2342
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2343
+ def set(self, value: float, unit: str | None = None) -> ts.MolarFlowRateSetter:
2344
+ """
2345
+ Create a setter for this molar flow rate quantity.
2346
+
2347
+ Args:
2348
+ value: The numeric value to set
2349
+ unit: Optional unit string (for compatibility with base class)
2350
+
2351
+ Returns:
2352
+ MolarFlowRateSetter: A setter with unit properties like .meters, .inches, etc.
2353
+
2354
+ Example:
2355
+ >>> length = Length("beam_length")
2356
+ >>> length.set(100).millimeters # Sets to 100 mm
2357
+ """
2358
+ ...
2359
+
2360
+ class MolarFlux(FieldQnty):
2361
+ """
2362
+ Type-safe molar flux quantity with expression capabilities.
2363
+
2364
+ Constructor Options:
2365
+ -------------------
2366
+ - MolarFlux("variable_name") -> Create unknown molar flux
2367
+ - MolarFlux(value, "unit", "variable_name") -> Create known molar flux
2368
+
2369
+ Examples:
2370
+ ---------
2371
+ >>> unknown = MolarFlux("pressure") # Unknown molar flux
2372
+ >>> known = MolarFlux(100, "kmol_per_square_meter_per_day", "inlet_pressure") # Known molar flux
2373
+
2374
+ Available units: "kmol_per_square_meter_per_day", "kmol_per_square_meter_per_hour", "kmol_per_square_meter_per_minute"
2375
+ """
2376
+
2377
+ __slots__ = ()
2378
+ _setter_class = ts.MolarFluxSetter
2379
+ _dimension = dim.MOLAR_FLUX
2380
+
2381
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2382
+ def set(self, value: float, unit: str | None = None) -> ts.MolarFluxSetter:
2383
+ """
2384
+ Create a setter for this molar flux quantity.
2385
+
2386
+ Args:
2387
+ value: The numeric value to set
2388
+ unit: Optional unit string (for compatibility with base class)
2389
+
2390
+ Returns:
2391
+ MolarFluxSetter: A setter with unit properties like .meters, .inches, etc.
2392
+
2393
+ Example:
2394
+ >>> length = Length("beam_length")
2395
+ >>> length.set(100).millimeters # Sets to 100 mm
2396
+ """
2397
+ ...
2398
+
2399
+ class MolarHeatCapacity(FieldQnty):
2400
+ """
2401
+ Type-safe molar heat capacity quantity with expression capabilities.
2402
+
2403
+ Constructor Options:
2404
+ -------------------
2405
+ - MolarHeatCapacity("variable_name") -> Create unknown molar heat capacity
2406
+ - MolarHeatCapacity(value, "unit", "variable_name") -> Create known molar heat capacity
2407
+
2408
+ Examples:
2409
+ ---------
2410
+ >>> unknown = MolarHeatCapacity("pressure") # Unknown molar heat capacity
2411
+ >>> known = MolarHeatCapacity(100, "btu_per_pound_mole_per_degree_fahrenheit_or_degree_rankine", "inlet_pressure") # Known molar heat capacity
2412
+
2413
+ Available units: "btu_per_pound_mole_per_degree_fahrenheit_or_degree_rankine", "calories_per_gram_mole_per_kelvin_or_degree_celsius", "joule_per_gram_mole_per_kelvin_or_degree_celsius"
2414
+ """
2415
+
2416
+ __slots__ = ()
2417
+ _setter_class = ts.MolarHeatCapacitySetter
2418
+ _dimension = dim.MOLAR_HEAT_CAPACITY
2419
+
2420
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2421
+ def set(self, value: float, unit: str | None = None) -> ts.MolarHeatCapacitySetter:
2422
+ """
2423
+ Create a setter for this molar heat capacity quantity.
2424
+
2425
+ Args:
2426
+ value: The numeric value to set
2427
+ unit: Optional unit string (for compatibility with base class)
2428
+
2429
+ Returns:
2430
+ MolarHeatCapacitySetter: A setter with unit properties like .meters, .inches, etc.
2431
+
2432
+ Example:
2433
+ >>> length = Length("beam_length")
2434
+ >>> length.set(100).millimeters # Sets to 100 mm
2435
+ """
2436
+ ...
2437
+
2438
+ class MolarityOfI(FieldQnty):
2439
+ """
2440
+ Type-safe molarity of "i" quantity with expression capabilities.
2441
+
2442
+ Constructor Options:
2443
+ -------------------
2444
+ - MolarityOfI("variable_name") -> Create unknown molarity of "i"
2445
+ - MolarityOfI(value, "unit", "variable_name") -> Create known molarity of "i"
2446
+
2447
+ Examples:
2448
+ ---------
2449
+ >>> unknown = MolarityOfI("pressure") # Unknown molarity of "i"
2450
+ >>> known = MolarityOfI(100, "gram_moles_of_i_per_cubic_meter", "inlet_pressure") # Known molarity of "i"
2451
+
2452
+ Available units: "gram_moles_of_i_per_cubic_meter", "gram_moles_of_i_per_liter", "kilogram_moles_of_i_per_cubic_meter"
2453
+ """
2454
+
2455
+ __slots__ = ()
2456
+ _setter_class = ts.MolarityOfISetter
2457
+ _dimension = dim.MOLARITY_OF_I
2458
+
2459
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2460
+ def set(self, value: float, unit: str | None = None) -> ts.MolarityOfISetter:
2461
+ """
2462
+ Create a setter for this molarity of "i" quantity.
2463
+
2464
+ Args:
2465
+ value: The numeric value to set
2466
+ unit: Optional unit string (for compatibility with base class)
2467
+
2468
+ Returns:
2469
+ MolarityOfISetter: A setter with unit properties like .meters, .inches, etc.
2470
+
2471
+ Example:
2472
+ >>> length = Length("beam_length")
2473
+ >>> length.set(100).millimeters # Sets to 100 mm
2474
+ """
2475
+ ...
2476
+
2477
+ class MoleFractionOfI(FieldQnty):
2478
+ """
2479
+ Type-safe mole fraction of "i" quantity with expression capabilities.
2480
+
2481
+ Constructor Options:
2482
+ -------------------
2483
+ - MoleFractionOfI("variable_name") -> Create unknown mole fraction of "i"
2484
+ - MoleFractionOfI(value, "unit", "variable_name") -> Create known mole fraction of "i"
2485
+
2486
+ Examples:
2487
+ ---------
2488
+ >>> unknown = MoleFractionOfI("pressure") # Unknown mole fraction of "i"
2489
+ >>> known = MoleFractionOfI(100, "gram_mole_of_i_per_gram_mole_total", "inlet_pressure") # Known mole fraction of "i"
2490
+
2491
+ Available units: "gram_mole_of_i_per_gram_mole_total", "kilogram_mole_of_i_per_kilogram_mole_total", "kilomole_of_i_per_kilomole_total"
2492
+ """
2493
+
2494
+ __slots__ = ()
2495
+ _setter_class = ts.MoleFractionOfISetter
2496
+ _dimension = dim.MOLE_FRACTION_OF_I
2497
+
2498
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2499
+ def set(self, value: float, unit: str | None = None) -> ts.MoleFractionOfISetter:
2500
+ """
2501
+ Create a setter for this mole fraction of "i" quantity.
2502
+
2503
+ Args:
2504
+ value: The numeric value to set
2505
+ unit: Optional unit string (for compatibility with base class)
2506
+
2507
+ Returns:
2508
+ MoleFractionOfISetter: A setter with unit properties like .meters, .inches, etc.
2509
+
2510
+ Example:
2511
+ >>> length = Length("beam_length")
2512
+ >>> length.set(100).millimeters # Sets to 100 mm
2513
+ """
2514
+ ...
2515
+
2516
+ class MomentOfInertia(FieldQnty):
2517
+ """
2518
+ Type-safe moment of inertia quantity with expression capabilities.
2519
+
2520
+ Constructor Options:
2521
+ -------------------
2522
+ - MomentOfInertia("variable_name") -> Create unknown moment of inertia
2523
+ - MomentOfInertia(value, "unit", "variable_name") -> Create known moment of inertia
2524
+
2525
+ Examples:
2526
+ ---------
2527
+ >>> unknown = MomentOfInertia("pressure") # Unknown moment of inertia
2528
+ >>> known = MomentOfInertia(100, "gram_force_centimeter_square_second", "inlet_pressure") # Known moment of inertia
2529
+
2530
+ Available units: "gram_force_centimeter_square_second", "gram_square_centimeter", "kilogram_force_centimeter_square_second"
2531
+ """
2532
+
2533
+ __slots__ = ()
2534
+ _setter_class = ts.MomentOfInertiaSetter
2535
+ _dimension = dim.MOMENT_OF_INERTIA
2536
+
2537
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2538
+ def set(self, value: float, unit: str | None = None) -> ts.MomentOfInertiaSetter:
2539
+ """
2540
+ Create a setter for this moment of inertia quantity.
2541
+
2542
+ Args:
2543
+ value: The numeric value to set
2544
+ unit: Optional unit string (for compatibility with base class)
2545
+
2546
+ Returns:
2547
+ MomentOfInertiaSetter: A setter with unit properties like .meters, .inches, etc.
2548
+
2549
+ Example:
2550
+ >>> length = Length("beam_length")
2551
+ >>> length.set(100).millimeters # Sets to 100 mm
2552
+ """
2553
+ ...
2554
+
2555
+ class MomentumFlowRate(FieldQnty):
2556
+ """
2557
+ Type-safe momentum flow rate quantity with expression capabilities.
2558
+
2559
+ Constructor Options:
2560
+ -------------------
2561
+ - MomentumFlowRate("variable_name") -> Create unknown momentum flow rate
2562
+ - MomentumFlowRate(value, "unit", "variable_name") -> Create known momentum flow rate
2563
+
2564
+ Examples:
2565
+ ---------
2566
+ >>> unknown = MomentumFlowRate("pressure") # Unknown momentum flow rate
2567
+ >>> known = MomentumFlowRate(100, "foot_pounds_per_square_hour", "inlet_pressure") # Known momentum flow rate
2568
+
2569
+ Available units: "foot_pounds_per_square_hour", "foot_pounds_per_square_minute", "foot_pounds_per_square_second"
2570
+ """
2571
+
2572
+ __slots__ = ()
2573
+ _setter_class = ts.MomentumFlowRateSetter
2574
+ _dimension = dim.MOMENTUM_FLOW_RATE
2575
+
2576
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2577
+ def set(self, value: float, unit: str | None = None) -> ts.MomentumFlowRateSetter:
2578
+ """
2579
+ Create a setter for this momentum flow rate quantity.
2580
+
2581
+ Args:
2582
+ value: The numeric value to set
2583
+ unit: Optional unit string (for compatibility with base class)
2584
+
2585
+ Returns:
2586
+ MomentumFlowRateSetter: A setter with unit properties like .meters, .inches, etc.
2587
+
2588
+ Example:
2589
+ >>> length = Length("beam_length")
2590
+ >>> length.set(100).millimeters # Sets to 100 mm
2591
+ """
2592
+ ...
2593
+
2594
+ class MomentumFlux(FieldQnty):
2595
+ """
2596
+ Type-safe momentum flux quantity with expression capabilities.
2597
+
2598
+ Constructor Options:
2599
+ -------------------
2600
+ - MomentumFlux("variable_name") -> Create unknown momentum flux
2601
+ - MomentumFlux(value, "unit", "variable_name") -> Create known momentum flux
2602
+
2603
+ Examples:
2604
+ ---------
2605
+ >>> unknown = MomentumFlux("pressure") # Unknown momentum flux
2606
+ >>> known = MomentumFlux(100, "dyne_per_square_centimeter", "inlet_pressure") # Known momentum flux
2607
+
2608
+ Available units: "dyne_per_square_centimeter", "gram_per_centimeter_per_square_second", "newton_per_square_meter"
2609
+ """
2610
+
2611
+ __slots__ = ()
2612
+ _setter_class = ts.MomentumFluxSetter
2613
+ _dimension = dim.MOMENTUM_FLUX
2614
+
2615
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2616
+ def set(self, value: float, unit: str | None = None) -> ts.MomentumFluxSetter:
2617
+ """
2618
+ Create a setter for this momentum flux quantity.
2619
+
2620
+ Args:
2621
+ value: The numeric value to set
2622
+ unit: Optional unit string (for compatibility with base class)
2623
+
2624
+ Returns:
2625
+ MomentumFluxSetter: A setter with unit properties like .meters, .inches, etc.
2626
+
2627
+ Example:
2628
+ >>> length = Length("beam_length")
2629
+ >>> length.set(100).millimeters # Sets to 100 mm
2630
+ """
2631
+ ...
2632
+
2633
+ class NormalityOfSolution(FieldQnty):
2634
+ """
2635
+ Type-safe normality of solution quantity with expression capabilities.
2636
+
2637
+ Constructor Options:
2638
+ -------------------
2639
+ - NormalityOfSolution("variable_name") -> Create unknown normality of solution
2640
+ - NormalityOfSolution(value, "unit", "variable_name") -> Create known normality of solution
2641
+
2642
+ Examples:
2643
+ ---------
2644
+ >>> unknown = NormalityOfSolution("pressure") # Unknown normality of solution
2645
+ >>> known = NormalityOfSolution(100, "gram_equivalents_per_cubic_meter", "inlet_pressure") # Known normality of solution
2646
+
2647
+ Available units: "gram_equivalents_per_cubic_meter", "gram_equivalents_per_liter", "pound_equivalents_per_cubic_foot"
2648
+ """
2649
+
2650
+ __slots__ = ()
2651
+ _setter_class = ts.NormalityOfSolutionSetter
2652
+ _dimension = dim.NORMALITY_OF_SOLUTION
2653
+
2654
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2655
+ def set(self, value: float, unit: str | None = None) -> ts.NormalityOfSolutionSetter:
2656
+ """
2657
+ Create a setter for this normality of solution quantity.
2658
+
2659
+ Args:
2660
+ value: The numeric value to set
2661
+ unit: Optional unit string (for compatibility with base class)
2662
+
2663
+ Returns:
2664
+ NormalityOfSolutionSetter: A setter with unit properties like .meters, .inches, etc.
2665
+
2666
+ Example:
2667
+ >>> length = Length("beam_length")
2668
+ >>> length.set(100).millimeters # Sets to 100 mm
2669
+ """
2670
+ ...
2671
+
2672
+ class ParticleDensity(FieldQnty):
2673
+ """
2674
+ Type-safe particle density quantity with expression capabilities.
2675
+
2676
+ Constructor Options:
2677
+ -------------------
2678
+ - ParticleDensity("variable_name") -> Create unknown particle density
2679
+ - ParticleDensity(value, "unit", "variable_name") -> Create known particle density
2680
+
2681
+ Examples:
2682
+ ---------
2683
+ >>> unknown = ParticleDensity("pressure") # Unknown particle density
2684
+ >>> known = ParticleDensity(100, "particles_per_cubic_centimeter", "inlet_pressure") # Known particle density
2685
+
2686
+ Available units: "particles_per_cubic_centimeter", "particles_per_cubic_foot", "particles_per_cubic_meter"
2687
+ """
2688
+
2689
+ __slots__ = ()
2690
+ _setter_class = ts.ParticleDensitySetter
2691
+ _dimension = dim.PARTICLE_DENSITY
2692
+
2693
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2694
+ def set(self, value: float, unit: str | None = None) -> ts.ParticleDensitySetter:
2695
+ """
2696
+ Create a setter for this particle density quantity.
2697
+
2698
+ Args:
2699
+ value: The numeric value to set
2700
+ unit: Optional unit string (for compatibility with base class)
2701
+
2702
+ Returns:
2703
+ ParticleDensitySetter: A setter with unit properties like .meters, .inches, etc.
2704
+
2705
+ Example:
2706
+ >>> length = Length("beam_length")
2707
+ >>> length.set(100).millimeters # Sets to 100 mm
2708
+ """
2709
+ ...
2710
+
2711
+ class Percent(FieldQnty):
2712
+ """
2713
+ Type-safe percent quantity with expression capabilities.
2714
+
2715
+ Constructor Options:
2716
+ -------------------
2717
+ - Percent("variable_name") -> Create unknown percent
2718
+ - Percent(value, "unit", "variable_name") -> Create known percent
2719
+
2720
+ Examples:
2721
+ ---------
2722
+ >>> unknown = Percent("pressure") # Unknown percent
2723
+ >>> known = Percent(100, "percent", "inlet_pressure") # Known percent
2724
+
2725
+ Available units: "percent", "per_mille", "basis_point"
2726
+ """
2727
+
2728
+ __slots__ = ()
2729
+ _setter_class = ts.PercentSetter
2730
+ _dimension = dim.PERCENT
2731
+
2732
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2733
+ def set(self, value: float, unit: str | None = None) -> ts.PercentSetter:
2734
+ """
2735
+ Create a setter for this percent quantity.
2736
+
2737
+ Args:
2738
+ value: The numeric value to set
2739
+ unit: Optional unit string (for compatibility with base class)
2740
+
2741
+ Returns:
2742
+ PercentSetter: A setter with unit properties like .meters, .inches, etc.
2743
+
2744
+ Example:
2745
+ >>> length = Length("beam_length")
2746
+ >>> length.set(100).millimeters # Sets to 100 mm
2747
+ """
2748
+ ...
2749
+
2750
+ class Permeability(FieldQnty):
2751
+ """
2752
+ Type-safe permeability quantity with expression capabilities.
2753
+
2754
+ Constructor Options:
2755
+ -------------------
2756
+ - Permeability("variable_name") -> Create unknown permeability
2757
+ - Permeability(value, "unit", "variable_name") -> Create known permeability
2758
+
2759
+ Examples:
2760
+ ---------
2761
+ >>> unknown = Permeability("pressure") # Unknown permeability
2762
+ >>> known = Permeability(100, "darcy", "inlet_pressure") # Known permeability
2763
+
2764
+ Available units: "darcy", "square_feet", "square_meters"
2765
+ """
2766
+
2767
+ __slots__ = ()
2768
+ _setter_class = ts.PermeabilitySetter
2769
+ _dimension = dim.PERMEABILITY
2770
+
2771
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2772
+ def set(self, value: float, unit: str | None = None) -> ts.PermeabilitySetter:
2773
+ """
2774
+ Create a setter for this permeability quantity.
2775
+
2776
+ Args:
2777
+ value: The numeric value to set
2778
+ unit: Optional unit string (for compatibility with base class)
2779
+
2780
+ Returns:
2781
+ PermeabilitySetter: A setter with unit properties like .meters, .inches, etc.
2782
+
2783
+ Example:
2784
+ >>> length = Length("beam_length")
2785
+ >>> length.set(100).millimeters # Sets to 100 mm
2786
+ """
2787
+ ...
2788
+
2789
+ class PhotonEmissionRate(FieldQnty):
2790
+ """
2791
+ Type-safe photon emission rate quantity with expression capabilities.
2792
+
2793
+ Constructor Options:
2794
+ -------------------
2795
+ - PhotonEmissionRate("variable_name") -> Create unknown photon emission rate
2796
+ - PhotonEmissionRate(value, "unit", "variable_name") -> Create known photon emission rate
2797
+
2798
+ Examples:
2799
+ ---------
2800
+ >>> unknown = PhotonEmissionRate("pressure") # Unknown photon emission rate
2801
+ >>> known = PhotonEmissionRate(100, "rayleigh", "inlet_pressure") # Known photon emission rate
2802
+
2803
+ Available units: "rayleigh", "reciprocal_square_meter_second"
2804
+ """
2805
+
2806
+ __slots__ = ()
2807
+ _setter_class = ts.PhotonEmissionRateSetter
2808
+ _dimension = dim.PHOTON_EMISSION_RATE
2809
+
2810
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2811
+ def set(self, value: float, unit: str | None = None) -> ts.PhotonEmissionRateSetter:
2812
+ """
2813
+ Create a setter for this photon emission rate quantity.
2814
+
2815
+ Args:
2816
+ value: The numeric value to set
2817
+ unit: Optional unit string (for compatibility with base class)
2818
+
2819
+ Returns:
2820
+ PhotonEmissionRateSetter: A setter with unit properties like .meters, .inches, etc.
2821
+
2822
+ Example:
2823
+ >>> length = Length("beam_length")
2824
+ >>> length.set(100).millimeters # Sets to 100 mm
2825
+ """
2826
+ ...
2827
+
2828
+ class PowerPerUnitMass(FieldQnty):
2829
+ """
2830
+ Type-safe power per unit mass or specific power quantity with expression capabilities.
2831
+
2832
+ Constructor Options:
2833
+ -------------------
2834
+ - PowerPerUnitMass("variable_name") -> Create unknown power per unit mass or specific power
2835
+ - PowerPerUnitMass(value, "unit", "variable_name") -> Create known power per unit mass or specific power
2836
+
2837
+ Examples:
2838
+ ---------
2839
+ >>> unknown = PowerPerUnitMass("pressure") # Unknown power per unit mass or specific power
2840
+ >>> known = PowerPerUnitMass(100, "british_thermal_unit_per_hour_per_pound_mass", "inlet_pressure") # Known power per unit mass or specific power
2841
+
2842
+ Available units: "british_thermal_unit_per_hour_per_pound_mass", "calorie_per_second_per_gram", "kilocalorie_per_hour_per_kilogram"
2843
+ """
2844
+
2845
+ __slots__ = ()
2846
+ _setter_class = ts.PowerPerUnitMassSetter
2847
+ _dimension = dim.POWER_PER_UNIT_MASS
2848
+
2849
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2850
+ def set(self, value: float, unit: str | None = None) -> ts.PowerPerUnitMassSetter:
2851
+ """
2852
+ Create a setter for this power per unit mass or specific power quantity.
2853
+
2854
+ Args:
2855
+ value: The numeric value to set
2856
+ unit: Optional unit string (for compatibility with base class)
2857
+
2858
+ Returns:
2859
+ PowerPerUnitMassSetter: A setter with unit properties like .meters, .inches, etc.
2860
+
2861
+ Example:
2862
+ >>> length = Length("beam_length")
2863
+ >>> length.set(100).millimeters # Sets to 100 mm
2864
+ """
2865
+ ...
2866
+
2867
+ class PowerPerUnitVolume(FieldQnty):
2868
+ """
2869
+ Type-safe power per unit volume or power density quantity with expression capabilities.
2870
+
2871
+ Constructor Options:
2872
+ -------------------
2873
+ - PowerPerUnitVolume("variable_name") -> Create unknown power per unit volume or power density
2874
+ - PowerPerUnitVolume(value, "unit", "variable_name") -> Create known power per unit volume or power density
2875
+
2876
+ Examples:
2877
+ ---------
2878
+ >>> unknown = PowerPerUnitVolume("pressure") # Unknown power per unit volume or power density
2879
+ >>> known = PowerPerUnitVolume(100, "british_thermal_unit_per_hour_per_cubic_foot", "inlet_pressure") # Known power per unit volume or power density
2880
+
2881
+ Available units: "british_thermal_unit_per_hour_per_cubic_foot", "calorie_per_second_per_cubic_centimeter", "chu_per_hour_per_cubic_foot"
2882
+ """
2883
+
2884
+ __slots__ = ()
2885
+ _setter_class = ts.PowerPerUnitVolumeSetter
2886
+ _dimension = dim.POWER_PER_UNIT_VOLUME
2887
+
2888
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2889
+ def set(self, value: float, unit: str | None = None) -> ts.PowerPerUnitVolumeSetter:
2890
+ """
2891
+ Create a setter for this power per unit volume or power density quantity.
2892
+
2893
+ Args:
2894
+ value: The numeric value to set
2895
+ unit: Optional unit string (for compatibility with base class)
2896
+
2897
+ Returns:
2898
+ PowerPerUnitVolumeSetter: A setter with unit properties like .meters, .inches, etc.
2899
+
2900
+ Example:
2901
+ >>> length = Length("beam_length")
2902
+ >>> length.set(100).millimeters # Sets to 100 mm
2903
+ """
2904
+ ...
2905
+
2906
+ class PowerThermalDuty(FieldQnty):
2907
+ """
2908
+ Type-safe power, thermal duty quantity with expression capabilities.
2909
+
2910
+ Constructor Options:
2911
+ -------------------
2912
+ - PowerThermalDuty("variable_name") -> Create unknown power, thermal duty
2913
+ - PowerThermalDuty(value, "unit", "variable_name") -> Create known power, thermal duty
2914
+
2915
+ Examples:
2916
+ ---------
2917
+ >>> unknown = PowerThermalDuty("pressure") # Unknown power, thermal duty
2918
+ >>> known = PowerThermalDuty(100, "abwatt_emu_of_power", "inlet_pressure") # Known power, thermal duty
2919
+
2920
+ Available units: "abwatt_emu_of_power", "boiler_horsepower", "british_thermal_unit_mean"
2921
+ """
2922
+
2923
+ __slots__ = ()
2924
+ _setter_class = ts.PowerThermalDutySetter
2925
+ _dimension = dim.POWER_THERMAL_DUTY
2926
+
2927
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2928
+ def set(self, value: float, unit: str | None = None) -> ts.PowerThermalDutySetter:
2929
+ """
2930
+ Create a setter for this power, thermal duty quantity.
2931
+
2932
+ Args:
2933
+ value: The numeric value to set
2934
+ unit: Optional unit string (for compatibility with base class)
2935
+
2936
+ Returns:
2937
+ PowerThermalDutySetter: A setter with unit properties like .meters, .inches, etc.
2938
+
2939
+ Example:
2940
+ >>> length = Length("beam_length")
2941
+ >>> length.set(100).millimeters # Sets to 100 mm
2942
+ """
2943
+ ...
2944
+
2945
+ class Pressure(FieldQnty):
2946
+ """
2947
+ Type-safe pressure quantity with expression capabilities.
2948
+
2949
+ Constructor Options:
2950
+ -------------------
2951
+ - Pressure("variable_name") -> Create unknown pressure
2952
+ - Pressure(value, "unit", "variable_name") -> Create known pressure
2953
+
2954
+ Examples:
2955
+ ---------
2956
+ >>> unknown = Pressure("pressure") # Unknown pressure
2957
+ >>> known = Pressure(100, "atmosphere_standard", "inlet_pressure") # Known pressure
2958
+
2959
+ Available units: "atmosphere_standard", "bar", "barye"
2960
+ """
2961
+
2962
+ __slots__ = ()
2963
+ _setter_class = ts.PressureSetter
2964
+ _dimension = dim.PRESSURE
2965
+
2966
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
2967
+ def set(self, value: float, unit: str | None = None) -> ts.PressureSetter:
2968
+ """
2969
+ Create a setter for this pressure quantity.
2970
+
2971
+ Args:
2972
+ value: The numeric value to set
2973
+ unit: Optional unit string (for compatibility with base class)
2974
+
2975
+ Returns:
2976
+ PressureSetter: A setter with unit properties like .meters, .inches, etc.
2977
+
2978
+ Example:
2979
+ >>> length = Length("beam_length")
2980
+ >>> length.set(100).millimeters # Sets to 100 mm
2981
+ """
2982
+ ...
2983
+
2984
+ class RadiationDoseEquivalent(FieldQnty):
2985
+ """
2986
+ Type-safe radiation dose equivalent quantity with expression capabilities.
2987
+
2988
+ Constructor Options:
2989
+ -------------------
2990
+ - RadiationDoseEquivalent("variable_name") -> Create unknown radiation dose equivalent
2991
+ - RadiationDoseEquivalent(value, "unit", "variable_name") -> Create known radiation dose equivalent
2992
+
2993
+ Examples:
2994
+ ---------
2995
+ >>> unknown = RadiationDoseEquivalent("pressure") # Unknown radiation dose equivalent
2996
+ >>> known = RadiationDoseEquivalent(100, "rem", "inlet_pressure") # Known radiation dose equivalent
2997
+
2998
+ Available units: "rem", "sievert", "millisievert"
2999
+ """
3000
+
3001
+ __slots__ = ()
3002
+ _setter_class = ts.RadiationDoseEquivalentSetter
3003
+ _dimension = dim.RADIATION_DOSE_EQUIVALENT
3004
+
3005
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3006
+ def set(self, value: float, unit: str | None = None) -> ts.RadiationDoseEquivalentSetter:
3007
+ """
3008
+ Create a setter for this radiation dose equivalent quantity.
3009
+
3010
+ Args:
3011
+ value: The numeric value to set
3012
+ unit: Optional unit string (for compatibility with base class)
3013
+
3014
+ Returns:
3015
+ RadiationDoseEquivalentSetter: A setter with unit properties like .meters, .inches, etc.
3016
+
3017
+ Example:
3018
+ >>> length = Length("beam_length")
3019
+ >>> length.set(100).millimeters # Sets to 100 mm
3020
+ """
3021
+ ...
3022
+
3023
+ class RadiationExposure(FieldQnty):
3024
+ """
3025
+ Type-safe radiation exposure quantity with expression capabilities.
3026
+
3027
+ Constructor Options:
3028
+ -------------------
3029
+ - RadiationExposure("variable_name") -> Create unknown radiation exposure
3030
+ - RadiationExposure(value, "unit", "variable_name") -> Create known radiation exposure
3031
+
3032
+ Examples:
3033
+ ---------
3034
+ >>> unknown = RadiationExposure("pressure") # Unknown radiation exposure
3035
+ >>> known = RadiationExposure(100, "coulomb_per_kilogram", "inlet_pressure") # Known radiation exposure
3036
+
3037
+ Available units: "coulomb_per_kilogram", "d_unit", "pastille_dose_b_unit"
3038
+ """
3039
+
3040
+ __slots__ = ()
3041
+ _setter_class = ts.RadiationExposureSetter
3042
+ _dimension = dim.RADIATION_EXPOSURE
3043
+
3044
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3045
+ def set(self, value: float, unit: str | None = None) -> ts.RadiationExposureSetter:
3046
+ """
3047
+ Create a setter for this radiation exposure quantity.
3048
+
3049
+ Args:
3050
+ value: The numeric value to set
3051
+ unit: Optional unit string (for compatibility with base class)
3052
+
3053
+ Returns:
3054
+ RadiationExposureSetter: A setter with unit properties like .meters, .inches, etc.
3055
+
3056
+ Example:
3057
+ >>> length = Length("beam_length")
3058
+ >>> length.set(100).millimeters # Sets to 100 mm
3059
+ """
3060
+ ...
3061
+
3062
+ class Radioactivity(FieldQnty):
3063
+ """
3064
+ Type-safe radioactivity quantity with expression capabilities.
3065
+
3066
+ Constructor Options:
3067
+ -------------------
3068
+ - Radioactivity("variable_name") -> Create unknown radioactivity
3069
+ - Radioactivity(value, "unit", "variable_name") -> Create known radioactivity
3070
+
3071
+ Examples:
3072
+ ---------
3073
+ >>> unknown = Radioactivity("pressure") # Unknown radioactivity
3074
+ >>> known = Radioactivity(100, "becquerel", "inlet_pressure") # Known radioactivity
3075
+
3076
+ Available units: "becquerel", "curie", "mache_unit"
3077
+ """
3078
+
3079
+ __slots__ = ()
3080
+ _setter_class = ts.RadioactivitySetter
3081
+ _dimension = dim.RADIOACTIVITY
3082
+
3083
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3084
+ def set(self, value: float, unit: str | None = None) -> ts.RadioactivitySetter:
3085
+ """
3086
+ Create a setter for this radioactivity quantity.
3087
+
3088
+ Args:
3089
+ value: The numeric value to set
3090
+ unit: Optional unit string (for compatibility with base class)
3091
+
3092
+ Returns:
3093
+ RadioactivitySetter: A setter with unit properties like .meters, .inches, etc.
3094
+
3095
+ Example:
3096
+ >>> length = Length("beam_length")
3097
+ >>> length.set(100).millimeters # Sets to 100 mm
3098
+ """
3099
+ ...
3100
+
3101
+ class SecondMomentOfArea(FieldQnty):
3102
+ """
3103
+ Type-safe second moment of area quantity with expression capabilities.
3104
+
3105
+ Constructor Options:
3106
+ -------------------
3107
+ - SecondMomentOfArea("variable_name") -> Create unknown second moment of area
3108
+ - SecondMomentOfArea(value, "unit", "variable_name") -> Create known second moment of area
3109
+
3110
+ Examples:
3111
+ ---------
3112
+ >>> unknown = SecondMomentOfArea("pressure") # Unknown second moment of area
3113
+ >>> known = SecondMomentOfArea(100, "inch_quadrupled", "inlet_pressure") # Known second moment of area
3114
+
3115
+ Available units: "inch_quadrupled", "centimeter_quadrupled", "foot_quadrupled"
3116
+ """
3117
+
3118
+ __slots__ = ()
3119
+ _setter_class = ts.SecondMomentOfAreaSetter
3120
+ _dimension = dim.SECOND_MOMENT_OF_AREA
3121
+
3122
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3123
+ def set(self, value: float, unit: str | None = None) -> ts.SecondMomentOfAreaSetter:
3124
+ """
3125
+ Create a setter for this second moment of area quantity.
3126
+
3127
+ Args:
3128
+ value: The numeric value to set
3129
+ unit: Optional unit string (for compatibility with base class)
3130
+
3131
+ Returns:
3132
+ SecondMomentOfAreaSetter: A setter with unit properties like .meters, .inches, etc.
3133
+
3134
+ Example:
3135
+ >>> length = Length("beam_length")
3136
+ >>> length.set(100).millimeters # Sets to 100 mm
3137
+ """
3138
+ ...
3139
+
3140
+ class SecondRadiationConstantPlanck(FieldQnty):
3141
+ """
3142
+ Type-safe second radiation constant (planck) quantity with expression capabilities.
3143
+
3144
+ Constructor Options:
3145
+ -------------------
3146
+ - SecondRadiationConstantPlanck("variable_name") -> Create unknown second radiation constant (planck)
3147
+ - SecondRadiationConstantPlanck(value, "unit", "variable_name") -> Create known second radiation constant (planck)
3148
+
3149
+ Examples:
3150
+ ---------
3151
+ >>> unknown = SecondRadiationConstantPlanck("pressure") # Unknown second radiation constant (planck)
3152
+ >>> known = SecondRadiationConstantPlanck(100, "meter_kelvin", "inlet_pressure") # Known second radiation constant (planck)
3153
+
3154
+ Available units: "meter_kelvin"
3155
+ """
3156
+
3157
+ __slots__ = ()
3158
+ _setter_class = ts.SecondRadiationConstantPlanckSetter
3159
+ _dimension = dim.SECOND_RADIATION_CONSTANT_PLANCK
3160
+
3161
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3162
+ def set(self, value: float, unit: str | None = None) -> ts.SecondRadiationConstantPlanckSetter:
3163
+ """
3164
+ Create a setter for this second radiation constant (planck) quantity.
3165
+
3166
+ Args:
3167
+ value: The numeric value to set
3168
+ unit: Optional unit string (for compatibility with base class)
3169
+
3170
+ Returns:
3171
+ SecondRadiationConstantPlanckSetter: A setter with unit properties like .meters, .inches, etc.
3172
+
3173
+ Example:
3174
+ >>> length = Length("beam_length")
3175
+ >>> length.set(100).millimeters # Sets to 100 mm
3176
+ """
3177
+ ...
3178
+
3179
+ class SpecificEnthalpy(FieldQnty):
3180
+ """
3181
+ Type-safe specific enthalpy quantity with expression capabilities.
3182
+
3183
+ Constructor Options:
3184
+ -------------------
3185
+ - SpecificEnthalpy("variable_name") -> Create unknown specific enthalpy
3186
+ - SpecificEnthalpy(value, "unit", "variable_name") -> Create known specific enthalpy
3187
+
3188
+ Examples:
3189
+ ---------
3190
+ >>> unknown = SpecificEnthalpy("pressure") # Unknown specific enthalpy
3191
+ >>> known = SpecificEnthalpy(100, "british_thermal_unit_mean", "inlet_pressure") # Known specific enthalpy
3192
+
3193
+ Available units: "british_thermal_unit_mean", "british_thermal_unit_per_pound", "calorie_per_gram"
3194
+ """
3195
+
3196
+ __slots__ = ()
3197
+ _setter_class = ts.SpecificEnthalpySetter
3198
+ _dimension = dim.SPECIFIC_ENTHALPY
3199
+
3200
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3201
+ def set(self, value: float, unit: str | None = None) -> ts.SpecificEnthalpySetter:
3202
+ """
3203
+ Create a setter for this specific enthalpy quantity.
3204
+
3205
+ Args:
3206
+ value: The numeric value to set
3207
+ unit: Optional unit string (for compatibility with base class)
3208
+
3209
+ Returns:
3210
+ SpecificEnthalpySetter: A setter with unit properties like .meters, .inches, etc.
3211
+
3212
+ Example:
3213
+ >>> length = Length("beam_length")
3214
+ >>> length.set(100).millimeters # Sets to 100 mm
3215
+ """
3216
+ ...
3217
+
3218
+ class SpecificGravity(FieldQnty):
3219
+ """
3220
+ Type-safe specific gravity quantity with expression capabilities.
3221
+
3222
+ Constructor Options:
3223
+ -------------------
3224
+ - SpecificGravity("variable_name") -> Create unknown specific gravity
3225
+ - SpecificGravity(value, "unit", "variable_name") -> Create known specific gravity
3226
+
3227
+ Examples:
3228
+ ---------
3229
+ >>> unknown = SpecificGravity("pressure") # Unknown specific gravity
3230
+ >>> known = SpecificGravity(100, "dimensionless", "inlet_pressure") # Known specific gravity
3231
+
3232
+ Available units: "dimensionless"
3233
+ """
3234
+
3235
+ __slots__ = ()
3236
+ _setter_class = ts.SpecificGravitySetter
3237
+ _dimension = dim.SPECIFIC_GRAVITY
3238
+
3239
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3240
+ def set(self, value: float, unit: str | None = None) -> ts.SpecificGravitySetter:
3241
+ """
3242
+ Create a setter for this specific gravity quantity.
3243
+
3244
+ Args:
3245
+ value: The numeric value to set
3246
+ unit: Optional unit string (for compatibility with base class)
3247
+
3248
+ Returns:
3249
+ SpecificGravitySetter: A setter with unit properties like .meters, .inches, etc.
3250
+
3251
+ Example:
3252
+ >>> length = Length("beam_length")
3253
+ >>> length.set(100).millimeters # Sets to 100 mm
3254
+ """
3255
+ ...
3256
+
3257
+ class SpecificHeatCapacityConstantPressure(FieldQnty):
3258
+ """
3259
+ Type-safe specific heat capacity (constant pressure) quantity with expression capabilities.
3260
+
3261
+ Constructor Options:
3262
+ -------------------
3263
+ - SpecificHeatCapacityConstantPressure("variable_name") -> Create unknown specific heat capacity (constant pressure)
3264
+ - SpecificHeatCapacityConstantPressure(value, "unit", "variable_name") -> Create known specific heat capacity (constant pressure)
3265
+
3266
+ Examples:
3267
+ ---------
3268
+ >>> unknown = SpecificHeatCapacityConstantPressure("pressure") # Unknown specific heat capacity (constant pressure)
3269
+ >>> known = SpecificHeatCapacityConstantPressure(100, "btu_per_pound_per_degree_fahrenheit_or_degree_rankine", "inlet_pressure") # Known specific heat capacity (constant pressure)
3270
+
3271
+ Available units: "btu_per_pound_per_degree_fahrenheit_or_degree_rankine", "calories_per_gram_per_kelvin_or_degree_celsius", "joules_per_kilogram_per_kelvin_or_degree_celsius"
3272
+ """
3273
+
3274
+ __slots__ = ()
3275
+ _setter_class = ts.SpecificHeatCapacityConstantPressureSetter
3276
+ _dimension = dim.SPECIFIC_HEAT_CAPACITY_CONSTANT_PRESSURE
3277
+
3278
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3279
+ def set(self, value: float, unit: str | None = None) -> ts.SpecificHeatCapacityConstantPressureSetter:
3280
+ """
3281
+ Create a setter for this specific heat capacity (constant pressure) quantity.
3282
+
3283
+ Args:
3284
+ value: The numeric value to set
3285
+ unit: Optional unit string (for compatibility with base class)
3286
+
3287
+ Returns:
3288
+ SpecificHeatCapacityConstantPressureSetter: A setter with unit properties like .meters, .inches, etc.
3289
+
3290
+ Example:
3291
+ >>> length = Length("beam_length")
3292
+ >>> length.set(100).millimeters # Sets to 100 mm
3293
+ """
3294
+ ...
3295
+
3296
+ class SpecificLength(FieldQnty):
3297
+ """
3298
+ Type-safe specific length quantity with expression capabilities.
3299
+
3300
+ Constructor Options:
3301
+ -------------------
3302
+ - SpecificLength("variable_name") -> Create unknown specific length
3303
+ - SpecificLength(value, "unit", "variable_name") -> Create known specific length
3304
+
3305
+ Examples:
3306
+ ---------
3307
+ >>> unknown = SpecificLength("pressure") # Unknown specific length
3308
+ >>> known = SpecificLength(100, "centimeter_per_gram", "inlet_pressure") # Known specific length
3309
+
3310
+ Available units: "centimeter_per_gram", "cotton_count", "ft_per_pound"
3311
+ """
3312
+
3313
+ __slots__ = ()
3314
+ _setter_class = ts.SpecificLengthSetter
3315
+ _dimension = dim.SPECIFIC_LENGTH
3316
+
3317
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3318
+ def set(self, value: float, unit: str | None = None) -> ts.SpecificLengthSetter:
3319
+ """
3320
+ Create a setter for this specific length quantity.
3321
+
3322
+ Args:
3323
+ value: The numeric value to set
3324
+ unit: Optional unit string (for compatibility with base class)
3325
+
3326
+ Returns:
3327
+ SpecificLengthSetter: A setter with unit properties like .meters, .inches, etc.
3328
+
3329
+ Example:
3330
+ >>> length = Length("beam_length")
3331
+ >>> length.set(100).millimeters # Sets to 100 mm
3332
+ """
3333
+ ...
3334
+
3335
+ class SpecificSurface(FieldQnty):
3336
+ """
3337
+ Type-safe specific surface quantity with expression capabilities.
3338
+
3339
+ Constructor Options:
3340
+ -------------------
3341
+ - SpecificSurface("variable_name") -> Create unknown specific surface
3342
+ - SpecificSurface(value, "unit", "variable_name") -> Create known specific surface
3343
+
3344
+ Examples:
3345
+ ---------
3346
+ >>> unknown = SpecificSurface("pressure") # Unknown specific surface
3347
+ >>> known = SpecificSurface(100, "square_centimeter_per_gram", "inlet_pressure") # Known specific surface
3348
+
3349
+ Available units: "square_centimeter_per_gram", "square_foot_per_kilogram", "square_foot_per_pound"
3350
+ """
3351
+
3352
+ __slots__ = ()
3353
+ _setter_class = ts.SpecificSurfaceSetter
3354
+ _dimension = dim.SPECIFIC_SURFACE
3355
+
3356
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3357
+ def set(self, value: float, unit: str | None = None) -> ts.SpecificSurfaceSetter:
3358
+ """
3359
+ Create a setter for this specific surface quantity.
3360
+
3361
+ Args:
3362
+ value: The numeric value to set
3363
+ unit: Optional unit string (for compatibility with base class)
3364
+
3365
+ Returns:
3366
+ SpecificSurfaceSetter: A setter with unit properties like .meters, .inches, etc.
3367
+
3368
+ Example:
3369
+ >>> length = Length("beam_length")
3370
+ >>> length.set(100).millimeters # Sets to 100 mm
3371
+ """
3372
+ ...
3373
+
3374
+ class SpecificVolume(FieldQnty):
3375
+ """
3376
+ Type-safe specific volume quantity with expression capabilities.
3377
+
3378
+ Constructor Options:
3379
+ -------------------
3380
+ - SpecificVolume("variable_name") -> Create unknown specific volume
3381
+ - SpecificVolume(value, "unit", "variable_name") -> Create known specific volume
3382
+
3383
+ Examples:
3384
+ ---------
3385
+ >>> unknown = SpecificVolume("pressure") # Unknown specific volume
3386
+ >>> known = SpecificVolume(100, "cubic_centimeter_per_gram", "inlet_pressure") # Known specific volume
3387
+
3388
+ Available units: "cubic_centimeter_per_gram", "cubic_foot_per_kilogram", "cubic_foot_per_pound"
3389
+ """
3390
+
3391
+ __slots__ = ()
3392
+ _setter_class = ts.SpecificVolumeSetter
3393
+ _dimension = dim.SPECIFIC_VOLUME
3394
+
3395
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3396
+ def set(self, value: float, unit: str | None = None) -> ts.SpecificVolumeSetter:
3397
+ """
3398
+ Create a setter for this specific volume quantity.
3399
+
3400
+ Args:
3401
+ value: The numeric value to set
3402
+ unit: Optional unit string (for compatibility with base class)
3403
+
3404
+ Returns:
3405
+ SpecificVolumeSetter: A setter with unit properties like .meters, .inches, etc.
3406
+
3407
+ Example:
3408
+ >>> length = Length("beam_length")
3409
+ >>> length.set(100).millimeters # Sets to 100 mm
3410
+ """
3411
+ ...
3412
+
3413
+ class Stress(FieldQnty):
3414
+ """
3415
+ Type-safe stress quantity with expression capabilities.
3416
+
3417
+ Constructor Options:
3418
+ -------------------
3419
+ - Stress("variable_name") -> Create unknown stress
3420
+ - Stress(value, "unit", "variable_name") -> Create known stress
3421
+
3422
+ Examples:
3423
+ ---------
3424
+ >>> unknown = Stress("pressure") # Unknown stress
3425
+ >>> known = Stress(100, "dyne_per_square_centimeter", "inlet_pressure") # Known stress
3426
+
3427
+ Available units: "dyne_per_square_centimeter", "gigapascal", "hectopascal"
3428
+ """
3429
+
3430
+ __slots__ = ()
3431
+ _setter_class = ts.StressSetter
3432
+ _dimension = dim.STRESS
3433
+
3434
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3435
+ def set(self, value: float, unit: str | None = None) -> ts.StressSetter:
3436
+ """
3437
+ Create a setter for this stress quantity.
3438
+
3439
+ Args:
3440
+ value: The numeric value to set
3441
+ unit: Optional unit string (for compatibility with base class)
3442
+
3443
+ Returns:
3444
+ StressSetter: A setter with unit properties like .meters, .inches, etc.
3445
+
3446
+ Example:
3447
+ >>> length = Length("beam_length")
3448
+ >>> length.set(100).millimeters # Sets to 100 mm
3449
+ """
3450
+ ...
3451
+
3452
+ class SurfaceMassDensity(FieldQnty):
3453
+ """
3454
+ Type-safe surface mass density quantity with expression capabilities.
3455
+
3456
+ Constructor Options:
3457
+ -------------------
3458
+ - SurfaceMassDensity("variable_name") -> Create unknown surface mass density
3459
+ - SurfaceMassDensity(value, "unit", "variable_name") -> Create known surface mass density
3460
+
3461
+ Examples:
3462
+ ---------
3463
+ >>> unknown = SurfaceMassDensity("pressure") # Unknown surface mass density
3464
+ >>> known = SurfaceMassDensity(100, "gram_per_square_centimeter", "inlet_pressure") # Known surface mass density
3465
+
3466
+ Available units: "gram_per_square_centimeter", "gram_per_square_meter", "kilogram_per_square_meter"
3467
+ """
3468
+
3469
+ __slots__ = ()
3470
+ _setter_class = ts.SurfaceMassDensitySetter
3471
+ _dimension = dim.SURFACE_MASS_DENSITY
3472
+
3473
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3474
+ def set(self, value: float, unit: str | None = None) -> ts.SurfaceMassDensitySetter:
3475
+ """
3476
+ Create a setter for this surface mass density quantity.
3477
+
3478
+ Args:
3479
+ value: The numeric value to set
3480
+ unit: Optional unit string (for compatibility with base class)
3481
+
3482
+ Returns:
3483
+ SurfaceMassDensitySetter: A setter with unit properties like .meters, .inches, etc.
3484
+
3485
+ Example:
3486
+ >>> length = Length("beam_length")
3487
+ >>> length.set(100).millimeters # Sets to 100 mm
3488
+ """
3489
+ ...
3490
+
3491
+ class SurfaceTension(FieldQnty):
3492
+ """
3493
+ Type-safe surface tension quantity with expression capabilities.
3494
+
3495
+ Constructor Options:
3496
+ -------------------
3497
+ - SurfaceTension("variable_name") -> Create unknown surface tension
3498
+ - SurfaceTension(value, "unit", "variable_name") -> Create known surface tension
3499
+
3500
+ Examples:
3501
+ ---------
3502
+ >>> unknown = SurfaceTension("pressure") # Unknown surface tension
3503
+ >>> known = SurfaceTension(100, "dyne_per_centimeter", "inlet_pressure") # Known surface tension
3504
+
3505
+ Available units: "dyne_per_centimeter", "gram_force_per_centimeter", "newton_per_meter"
3506
+ """
3507
+
3508
+ __slots__ = ()
3509
+ _setter_class = ts.SurfaceTensionSetter
3510
+ _dimension = dim.SURFACE_TENSION
3511
+
3512
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3513
+ def set(self, value: float, unit: str | None = None) -> ts.SurfaceTensionSetter:
3514
+ """
3515
+ Create a setter for this surface tension quantity.
3516
+
3517
+ Args:
3518
+ value: The numeric value to set
3519
+ unit: Optional unit string (for compatibility with base class)
3520
+
3521
+ Returns:
3522
+ SurfaceTensionSetter: A setter with unit properties like .meters, .inches, etc.
3523
+
3524
+ Example:
3525
+ >>> length = Length("beam_length")
3526
+ >>> length.set(100).millimeters # Sets to 100 mm
3527
+ """
3528
+ ...
3529
+
3530
+ class Temperature(FieldQnty):
3531
+ """
3532
+ Type-safe temperature quantity with expression capabilities.
3533
+
3534
+ Constructor Options:
3535
+ -------------------
3536
+ - Temperature("variable_name") -> Create unknown temperature
3537
+ - Temperature(value, "unit", "variable_name") -> Create known temperature
3538
+
3539
+ Examples:
3540
+ ---------
3541
+ >>> unknown = Temperature("pressure") # Unknown temperature
3542
+ >>> known = Temperature(100, "degree_celsius_unit_size", "inlet_pressure") # Known temperature
3543
+
3544
+ Available units: "degree_celsius_unit_size", "degree_fahrenheit_unit_size", "degree_r_aumur_unit_size"
3545
+ """
3546
+
3547
+ __slots__ = ()
3548
+ _setter_class = ts.TemperatureSetter
3549
+ _dimension = dim.TEMPERATURE
3550
+
3551
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3552
+ def set(self, value: float, unit: str | None = None) -> ts.TemperatureSetter:
3553
+ """
3554
+ Create a setter for this temperature quantity.
3555
+
3556
+ Args:
3557
+ value: The numeric value to set
3558
+ unit: Optional unit string (for compatibility with base class)
3559
+
3560
+ Returns:
3561
+ TemperatureSetter: A setter with unit properties like .meters, .inches, etc.
3562
+
3563
+ Example:
3564
+ >>> length = Length("beam_length")
3565
+ >>> length.set(100).millimeters # Sets to 100 mm
3566
+ """
3567
+ ...
3568
+
3569
+ class ThermalConductivity(FieldQnty):
3570
+ """
3571
+ Type-safe thermal conductivity quantity with expression capabilities.
3572
+
3573
+ Constructor Options:
3574
+ -------------------
3575
+ - ThermalConductivity("variable_name") -> Create unknown thermal conductivity
3576
+ - ThermalConductivity(value, "unit", "variable_name") -> Create known thermal conductivity
3577
+
3578
+ Examples:
3579
+ ---------
3580
+ >>> unknown = ThermalConductivity("pressure") # Unknown thermal conductivity
3581
+ >>> known = ThermalConductivity(100, "btu_it", "inlet_pressure") # Known thermal conductivity
3582
+
3583
+ Available units: "btu_it", "btu_therm", "btu_therm"
3584
+ """
3585
+
3586
+ __slots__ = ()
3587
+ _setter_class = ts.ThermalConductivitySetter
3588
+ _dimension = dim.THERMAL_CONDUCTIVITY
3589
+
3590
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3591
+ def set(self, value: float, unit: str | None = None) -> ts.ThermalConductivitySetter:
3592
+ """
3593
+ Create a setter for this thermal conductivity quantity.
3594
+
3595
+ Args:
3596
+ value: The numeric value to set
3597
+ unit: Optional unit string (for compatibility with base class)
3598
+
3599
+ Returns:
3600
+ ThermalConductivitySetter: A setter with unit properties like .meters, .inches, etc.
3601
+
3602
+ Example:
3603
+ >>> length = Length("beam_length")
3604
+ >>> length.set(100).millimeters # Sets to 100 mm
3605
+ """
3606
+ ...
3607
+
3608
+ class Time(FieldQnty):
3609
+ """
3610
+ Type-safe time quantity with expression capabilities.
3611
+
3612
+ Constructor Options:
3613
+ -------------------
3614
+ - Time("variable_name") -> Create unknown time
3615
+ - Time(value, "unit", "variable_name") -> Create known time
3616
+
3617
+ Examples:
3618
+ ---------
3619
+ >>> unknown = Time("pressure") # Unknown time
3620
+ >>> known = Time(100, "blink", "inlet_pressure") # Known time
3621
+
3622
+ Available units: "blink", "century", "chronon_or_tempon"
3623
+ """
3624
+
3625
+ __slots__ = ()
3626
+ _setter_class = ts.TimeSetter
3627
+ _dimension = dim.TIME
3628
+
3629
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3630
+ def set(self, value: float, unit: str | None = None) -> ts.TimeSetter:
3631
+ """
3632
+ Create a setter for this time quantity.
3633
+
3634
+ Args:
3635
+ value: The numeric value to set
3636
+ unit: Optional unit string (for compatibility with base class)
3637
+
3638
+ Returns:
3639
+ TimeSetter: A setter with unit properties like .meters, .inches, etc.
3640
+
3641
+ Example:
3642
+ >>> length = Length("beam_length")
3643
+ >>> length.set(100).millimeters # Sets to 100 mm
3644
+ """
3645
+ ...
3646
+
3647
+ class Torque(FieldQnty):
3648
+ """
3649
+ Type-safe torque quantity with expression capabilities.
3650
+
3651
+ Constructor Options:
3652
+ -------------------
3653
+ - Torque("variable_name") -> Create unknown torque
3654
+ - Torque(value, "unit", "variable_name") -> Create known torque
3655
+
3656
+ Examples:
3657
+ ---------
3658
+ >>> unknown = Torque("pressure") # Unknown torque
3659
+ >>> known = Torque(100, "centimeter_kilogram_force", "inlet_pressure") # Known torque
3660
+
3661
+ Available units: "centimeter_kilogram_force", "dyne_centimeter", "foot_kilogram_force"
3662
+ """
3663
+
3664
+ __slots__ = ()
3665
+ _setter_class = ts.TorqueSetter
3666
+ _dimension = dim.TORQUE
3667
+
3668
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3669
+ def set(self, value: float, unit: str | None = None) -> ts.TorqueSetter:
3670
+ """
3671
+ Create a setter for this torque quantity.
3672
+
3673
+ Args:
3674
+ value: The numeric value to set
3675
+ unit: Optional unit string (for compatibility with base class)
3676
+
3677
+ Returns:
3678
+ TorqueSetter: A setter with unit properties like .meters, .inches, etc.
3679
+
3680
+ Example:
3681
+ >>> length = Length("beam_length")
3682
+ >>> length.set(100).millimeters # Sets to 100 mm
3683
+ """
3684
+ ...
3685
+
3686
+ class TurbulenceEnergyDissipationRate(FieldQnty):
3687
+ """
3688
+ Type-safe turbulence energy dissipation rate quantity with expression capabilities.
3689
+
3690
+ Constructor Options:
3691
+ -------------------
3692
+ - TurbulenceEnergyDissipationRate("variable_name") -> Create unknown turbulence energy dissipation rate
3693
+ - TurbulenceEnergyDissipationRate(value, "unit", "variable_name") -> Create known turbulence energy dissipation rate
3694
+
3695
+ Examples:
3696
+ ---------
3697
+ >>> unknown = TurbulenceEnergyDissipationRate("pressure") # Unknown turbulence energy dissipation rate
3698
+ >>> known = TurbulenceEnergyDissipationRate(100, "square_foot_per_cubic_second", "inlet_pressure") # Known turbulence energy dissipation rate
3699
+
3700
+ Available units: "square_foot_per_cubic_second", "square_meter_per_cubic_second"
3701
+ """
3702
+
3703
+ __slots__ = ()
3704
+ _setter_class = ts.TurbulenceEnergyDissipationRateSetter
3705
+ _dimension = dim.TURBULENCE_ENERGY_DISSIPATION_RATE
3706
+
3707
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3708
+ def set(self, value: float, unit: str | None = None) -> ts.TurbulenceEnergyDissipationRateSetter:
3709
+ """
3710
+ Create a setter for this turbulence energy dissipation rate quantity.
3711
+
3712
+ Args:
3713
+ value: The numeric value to set
3714
+ unit: Optional unit string (for compatibility with base class)
3715
+
3716
+ Returns:
3717
+ TurbulenceEnergyDissipationRateSetter: A setter with unit properties like .meters, .inches, etc.
3718
+
3719
+ Example:
3720
+ >>> length = Length("beam_length")
3721
+ >>> length.set(100).millimeters # Sets to 100 mm
3722
+ """
3723
+ ...
3724
+
3725
+ class VelocityAngular(FieldQnty):
3726
+ """
3727
+ Type-safe velocity, angular quantity with expression capabilities.
3728
+
3729
+ Constructor Options:
3730
+ -------------------
3731
+ - VelocityAngular("variable_name") -> Create unknown velocity, angular
3732
+ - VelocityAngular(value, "unit", "variable_name") -> Create known velocity, angular
3733
+
3734
+ Examples:
3735
+ ---------
3736
+ >>> unknown = VelocityAngular("pressure") # Unknown velocity, angular
3737
+ >>> known = VelocityAngular(100, "degree_per_minute", "inlet_pressure") # Known velocity, angular
3738
+
3739
+ Available units: "degree_per_minute", "degree_per_second", "grade_per_minute"
3740
+ """
3741
+
3742
+ __slots__ = ()
3743
+ _setter_class = ts.VelocityAngularSetter
3744
+ _dimension = dim.VELOCITY_ANGULAR
3745
+
3746
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3747
+ def set(self, value: float, unit: str | None = None) -> ts.VelocityAngularSetter:
3748
+ """
3749
+ Create a setter for this velocity, angular quantity.
3750
+
3751
+ Args:
3752
+ value: The numeric value to set
3753
+ unit: Optional unit string (for compatibility with base class)
3754
+
3755
+ Returns:
3756
+ VelocityAngularSetter: A setter with unit properties like .meters, .inches, etc.
3757
+
3758
+ Example:
3759
+ >>> length = Length("beam_length")
3760
+ >>> length.set(100).millimeters # Sets to 100 mm
3761
+ """
3762
+ ...
3763
+
3764
+ class VelocityLinear(FieldQnty):
3765
+ """
3766
+ Type-safe velocity, linear quantity with expression capabilities.
3767
+
3768
+ Constructor Options:
3769
+ -------------------
3770
+ - VelocityLinear("variable_name") -> Create unknown velocity, linear
3771
+ - VelocityLinear(value, "unit", "variable_name") -> Create known velocity, linear
3772
+
3773
+ Examples:
3774
+ ---------
3775
+ >>> unknown = VelocityLinear("pressure") # Unknown velocity, linear
3776
+ >>> known = VelocityLinear(100, "foot_per_hour", "inlet_pressure") # Known velocity, linear
3777
+
3778
+ Available units: "foot_per_hour", "foot_per_minute", "foot_per_second"
3779
+ """
3780
+
3781
+ __slots__ = ()
3782
+ _setter_class = ts.VelocityLinearSetter
3783
+ _dimension = dim.VELOCITY_LINEAR
3784
+
3785
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3786
+ def set(self, value: float, unit: str | None = None) -> ts.VelocityLinearSetter:
3787
+ """
3788
+ Create a setter for this velocity, linear quantity.
3789
+
3790
+ Args:
3791
+ value: The numeric value to set
3792
+ unit: Optional unit string (for compatibility with base class)
3793
+
3794
+ Returns:
3795
+ VelocityLinearSetter: A setter with unit properties like .meters, .inches, etc.
3796
+
3797
+ Example:
3798
+ >>> length = Length("beam_length")
3799
+ >>> length.set(100).millimeters # Sets to 100 mm
3800
+ """
3801
+ ...
3802
+
3803
+ class ViscosityDynamic(FieldQnty):
3804
+ """
3805
+ Type-safe viscosity, dynamic quantity with expression capabilities.
3806
+
3807
+ Constructor Options:
3808
+ -------------------
3809
+ - ViscosityDynamic("variable_name") -> Create unknown viscosity, dynamic
3810
+ - ViscosityDynamic(value, "unit", "variable_name") -> Create known viscosity, dynamic
3811
+
3812
+ Examples:
3813
+ ---------
3814
+ >>> unknown = ViscosityDynamic("pressure") # Unknown viscosity, dynamic
3815
+ >>> known = ViscosityDynamic(100, "centipoise", "inlet_pressure") # Known viscosity, dynamic
3816
+
3817
+ Available units: "centipoise", "dyne_second_per_square_centimeter", "kilopound_second_per_square_meter"
3818
+ """
3819
+
3820
+ __slots__ = ()
3821
+ _setter_class = ts.ViscosityDynamicSetter
3822
+ _dimension = dim.VISCOSITY_DYNAMIC
3823
+
3824
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3825
+ def set(self, value: float, unit: str | None = None) -> ts.ViscosityDynamicSetter:
3826
+ """
3827
+ Create a setter for this viscosity, dynamic quantity.
3828
+
3829
+ Args:
3830
+ value: The numeric value to set
3831
+ unit: Optional unit string (for compatibility with base class)
3832
+
3833
+ Returns:
3834
+ ViscosityDynamicSetter: A setter with unit properties like .meters, .inches, etc.
3835
+
3836
+ Example:
3837
+ >>> length = Length("beam_length")
3838
+ >>> length.set(100).millimeters # Sets to 100 mm
3839
+ """
3840
+ ...
3841
+
3842
+ class ViscosityKinematic(FieldQnty):
3843
+ """
3844
+ Type-safe viscosity, kinematic quantity with expression capabilities.
3845
+
3846
+ Constructor Options:
3847
+ -------------------
3848
+ - ViscosityKinematic("variable_name") -> Create unknown viscosity, kinematic
3849
+ - ViscosityKinematic(value, "unit", "variable_name") -> Create known viscosity, kinematic
3850
+
3851
+ Examples:
3852
+ ---------
3853
+ >>> unknown = ViscosityKinematic("pressure") # Unknown viscosity, kinematic
3854
+ >>> known = ViscosityKinematic(100, "centistokes", "inlet_pressure") # Known viscosity, kinematic
3855
+
3856
+ Available units: "centistokes", "millistokes", "square_centimeter_per_second"
3857
+ """
3858
+
3859
+ __slots__ = ()
3860
+ _setter_class = ts.ViscosityKinematicSetter
3861
+ _dimension = dim.VISCOSITY_KINEMATIC
3862
+
3863
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3864
+ def set(self, value: float, unit: str | None = None) -> ts.ViscosityKinematicSetter:
3865
+ """
3866
+ Create a setter for this viscosity, kinematic quantity.
3867
+
3868
+ Args:
3869
+ value: The numeric value to set
3870
+ unit: Optional unit string (for compatibility with base class)
3871
+
3872
+ Returns:
3873
+ ViscosityKinematicSetter: A setter with unit properties like .meters, .inches, etc.
3874
+
3875
+ Example:
3876
+ >>> length = Length("beam_length")
3877
+ >>> length.set(100).millimeters # Sets to 100 mm
3878
+ """
3879
+ ...
3880
+
3881
+ class Volume(FieldQnty):
3882
+ """
3883
+ Type-safe volume quantity with expression capabilities.
3884
+
3885
+ Constructor Options:
3886
+ -------------------
3887
+ - Volume("variable_name") -> Create unknown volume
3888
+ - Volume(value, "unit", "variable_name") -> Create known volume
3889
+
3890
+ Examples:
3891
+ ---------
3892
+ >>> unknown = Volume("pressure") # Unknown volume
3893
+ >>> known = Volume(100, "acre_foot", "inlet_pressure") # Known volume
3894
+
3895
+ Available units: "acre_foot", "acre_inch", "barrel_us_liquid"
3896
+ """
3897
+
3898
+ __slots__ = ()
3899
+ _setter_class = ts.VolumeSetter
3900
+ _dimension = dim.VOLUME
3901
+
3902
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3903
+ def set(self, value: float, unit: str | None = None) -> ts.VolumeSetter:
3904
+ """
3905
+ Create a setter for this volume quantity.
3906
+
3907
+ Args:
3908
+ value: The numeric value to set
3909
+ unit: Optional unit string (for compatibility with base class)
3910
+
3911
+ Returns:
3912
+ VolumeSetter: A setter with unit properties like .meters, .inches, etc.
3913
+
3914
+ Example:
3915
+ >>> length = Length("beam_length")
3916
+ >>> length.set(100).millimeters # Sets to 100 mm
3917
+ """
3918
+ ...
3919
+
3920
+ class VolumeFractionOfI(FieldQnty):
3921
+ """
3922
+ Type-safe volume fraction of "i" quantity with expression capabilities.
3923
+
3924
+ Constructor Options:
3925
+ -------------------
3926
+ - VolumeFractionOfI("variable_name") -> Create unknown volume fraction of "i"
3927
+ - VolumeFractionOfI(value, "unit", "variable_name") -> Create known volume fraction of "i"
3928
+
3929
+ Examples:
3930
+ ---------
3931
+ >>> unknown = VolumeFractionOfI("pressure") # Unknown volume fraction of "i"
3932
+ >>> known = VolumeFractionOfI(100, "cubic_centimeters_of_i_per_cubic_meter_total", "inlet_pressure") # Known volume fraction of "i"
3933
+
3934
+ Available units: "cubic_centimeters_of_i_per_cubic_meter_total", "cubic_foot_of_i_per_cubic_foot_total", "cubic_meters_of_i_per_cubic_meter_total"
3935
+ """
3936
+
3937
+ __slots__ = ()
3938
+ _setter_class = ts.VolumeFractionOfISetter
3939
+ _dimension = dim.VOLUME_FRACTION_OF_I
3940
+
3941
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3942
+ def set(self, value: float, unit: str | None = None) -> ts.VolumeFractionOfISetter:
3943
+ """
3944
+ Create a setter for this volume fraction of "i" quantity.
3945
+
3946
+ Args:
3947
+ value: The numeric value to set
3948
+ unit: Optional unit string (for compatibility with base class)
3949
+
3950
+ Returns:
3951
+ VolumeFractionOfISetter: A setter with unit properties like .meters, .inches, etc.
3952
+
3953
+ Example:
3954
+ >>> length = Length("beam_length")
3955
+ >>> length.set(100).millimeters # Sets to 100 mm
3956
+ """
3957
+ ...
3958
+
3959
+ class VolumetricCalorificHeatingValue(FieldQnty):
3960
+ """
3961
+ Type-safe volumetric calorific (heating) value quantity with expression capabilities.
3962
+
3963
+ Constructor Options:
3964
+ -------------------
3965
+ - VolumetricCalorificHeatingValue("variable_name") -> Create unknown volumetric calorific (heating) value
3966
+ - VolumetricCalorificHeatingValue(value, "unit", "variable_name") -> Create known volumetric calorific (heating) value
3967
+
3968
+ Examples:
3969
+ ---------
3970
+ >>> unknown = VolumetricCalorificHeatingValue("pressure") # Unknown volumetric calorific (heating) value
3971
+ >>> known = VolumetricCalorificHeatingValue(100, "british_thermal_unit_per_cubic_foot", "inlet_pressure") # Known volumetric calorific (heating) value
3972
+
3973
+ Available units: "british_thermal_unit_per_cubic_foot", "british_thermal_unit_per_gallon_uk", "british_thermal_unit_per_gallon_us"
3974
+ """
3975
+
3976
+ __slots__ = ()
3977
+ _setter_class = ts.VolumetricCalorificHeatingValueSetter
3978
+ _dimension = dim.VOLUMETRIC_CALORIFIC_HEATING_VALUE
3979
+
3980
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
3981
+ def set(self, value: float, unit: str | None = None) -> ts.VolumetricCalorificHeatingValueSetter:
3982
+ """
3983
+ Create a setter for this volumetric calorific (heating) value quantity.
3984
+
3985
+ Args:
3986
+ value: The numeric value to set
3987
+ unit: Optional unit string (for compatibility with base class)
3988
+
3989
+ Returns:
3990
+ VolumetricCalorificHeatingValueSetter: A setter with unit properties like .meters, .inches, etc.
3991
+
3992
+ Example:
3993
+ >>> length = Length("beam_length")
3994
+ >>> length.set(100).millimeters # Sets to 100 mm
3995
+ """
3996
+ ...
3997
+
3998
+ class VolumetricCoefficientOfExpansion(FieldQnty):
3999
+ """
4000
+ Type-safe volumetric coefficient of expansion quantity with expression capabilities.
4001
+
4002
+ Constructor Options:
4003
+ -------------------
4004
+ - VolumetricCoefficientOfExpansion("variable_name") -> Create unknown volumetric coefficient of expansion
4005
+ - VolumetricCoefficientOfExpansion(value, "unit", "variable_name") -> Create known volumetric coefficient of expansion
4006
+
4007
+ Examples:
4008
+ ---------
4009
+ >>> unknown = VolumetricCoefficientOfExpansion("pressure") # Unknown volumetric coefficient of expansion
4010
+ >>> known = VolumetricCoefficientOfExpansion(100, "gram_per_cubic_centimeter_per_kelvin_or_degree_celsius", "inlet_pressure") # Known volumetric coefficient of expansion
4011
+
4012
+ Available units: "gram_per_cubic_centimeter_per_kelvin_or_degree_celsius", "kilogram_per_cubic_meter_per_kelvin_or_degree_celsius", "pound_per_cubic_foot_per_degree_fahrenheit_or_degree_rankine"
4013
+ """
4014
+
4015
+ __slots__ = ()
4016
+ _setter_class = ts.VolumetricCoefficientOfExpansionSetter
4017
+ _dimension = dim.VOLUMETRIC_COEFFICIENT_OF_EXPANSION
4018
+
4019
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
4020
+ def set(self, value: float, unit: str | None = None) -> ts.VolumetricCoefficientOfExpansionSetter:
4021
+ """
4022
+ Create a setter for this volumetric coefficient of expansion quantity.
4023
+
4024
+ Args:
4025
+ value: The numeric value to set
4026
+ unit: Optional unit string (for compatibility with base class)
4027
+
4028
+ Returns:
4029
+ VolumetricCoefficientOfExpansionSetter: A setter with unit properties like .meters, .inches, etc.
4030
+
4031
+ Example:
4032
+ >>> length = Length("beam_length")
4033
+ >>> length.set(100).millimeters # Sets to 100 mm
4034
+ """
4035
+ ...
4036
+
4037
+ class VolumetricFlowRate(FieldQnty):
4038
+ """
4039
+ Type-safe volumetric flow rate quantity with expression capabilities.
4040
+
4041
+ Constructor Options:
4042
+ -------------------
4043
+ - VolumetricFlowRate("variable_name") -> Create unknown volumetric flow rate
4044
+ - VolumetricFlowRate(value, "unit", "variable_name") -> Create known volumetric flow rate
4045
+
4046
+ Examples:
4047
+ ---------
4048
+ >>> unknown = VolumetricFlowRate("pressure") # Unknown volumetric flow rate
4049
+ >>> known = VolumetricFlowRate(100, "cubic_feet_per_day", "inlet_pressure") # Known volumetric flow rate
4050
+
4051
+ Available units: "cubic_feet_per_day", "cubic_feet_per_hour", "cubic_feet_per_minute"
4052
+ """
4053
+
4054
+ __slots__ = ()
4055
+ _setter_class = ts.VolumetricFlowRateSetter
4056
+ _dimension = dim.VOLUMETRIC_FLOW_RATE
4057
+
4058
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
4059
+ def set(self, value: float, unit: str | None = None) -> ts.VolumetricFlowRateSetter:
4060
+ """
4061
+ Create a setter for this volumetric flow rate quantity.
4062
+
4063
+ Args:
4064
+ value: The numeric value to set
4065
+ unit: Optional unit string (for compatibility with base class)
4066
+
4067
+ Returns:
4068
+ VolumetricFlowRateSetter: A setter with unit properties like .meters, .inches, etc.
4069
+
4070
+ Example:
4071
+ >>> length = Length("beam_length")
4072
+ >>> length.set(100).millimeters # Sets to 100 mm
4073
+ """
4074
+ ...
4075
+
4076
+ class VolumetricFlux(FieldQnty):
4077
+ """
4078
+ Type-safe volumetric flux quantity with expression capabilities.
4079
+
4080
+ Constructor Options:
4081
+ -------------------
4082
+ - VolumetricFlux("variable_name") -> Create unknown volumetric flux
4083
+ - VolumetricFlux(value, "unit", "variable_name") -> Create known volumetric flux
4084
+
4085
+ Examples:
4086
+ ---------
4087
+ >>> unknown = VolumetricFlux("pressure") # Unknown volumetric flux
4088
+ >>> known = VolumetricFlux(100, "cubic_feet_per_square_foot_per_day", "inlet_pressure") # Known volumetric flux
4089
+
4090
+ Available units: "cubic_feet_per_square_foot_per_day", "cubic_feet_per_square_foot_per_hour", "cubic_feet_per_square_foot_per_minute"
4091
+ """
4092
+
4093
+ __slots__ = ()
4094
+ _setter_class = ts.VolumetricFluxSetter
4095
+ _dimension = dim.VOLUMETRIC_FLUX
4096
+
4097
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
4098
+ def set(self, value: float, unit: str | None = None) -> ts.VolumetricFluxSetter:
4099
+ """
4100
+ Create a setter for this volumetric flux quantity.
4101
+
4102
+ Args:
4103
+ value: The numeric value to set
4104
+ unit: Optional unit string (for compatibility with base class)
4105
+
4106
+ Returns:
4107
+ VolumetricFluxSetter: A setter with unit properties like .meters, .inches, etc.
4108
+
4109
+ Example:
4110
+ >>> length = Length("beam_length")
4111
+ >>> length.set(100).millimeters # Sets to 100 mm
4112
+ """
4113
+ ...
4114
+
4115
+ class VolumetricMassFlowRate(FieldQnty):
4116
+ """
4117
+ Type-safe volumetric mass flow rate quantity with expression capabilities.
4118
+
4119
+ Constructor Options:
4120
+ -------------------
4121
+ - VolumetricMassFlowRate("variable_name") -> Create unknown volumetric mass flow rate
4122
+ - VolumetricMassFlowRate(value, "unit", "variable_name") -> Create known volumetric mass flow rate
4123
+
4124
+ Examples:
4125
+ ---------
4126
+ >>> unknown = VolumetricMassFlowRate("pressure") # Unknown volumetric mass flow rate
4127
+ >>> known = VolumetricMassFlowRate(100, "gram_per_second_per_cubic_centimeter", "inlet_pressure") # Known volumetric mass flow rate
4128
+
4129
+ Available units: "gram_per_second_per_cubic_centimeter", "kilogram_per_hour_per_cubic_foot", "kilogram_per_hour_per_cubic_meter"
4130
+ """
4131
+
4132
+ __slots__ = ()
4133
+ _setter_class = ts.VolumetricMassFlowRateSetter
4134
+ _dimension = dim.VOLUMETRIC_MASS_FLOW_RATE
4135
+
4136
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
4137
+ def set(self, value: float, unit: str | None = None) -> ts.VolumetricMassFlowRateSetter:
4138
+ """
4139
+ Create a setter for this volumetric mass flow rate quantity.
4140
+
4141
+ Args:
4142
+ value: The numeric value to set
4143
+ unit: Optional unit string (for compatibility with base class)
4144
+
4145
+ Returns:
4146
+ VolumetricMassFlowRateSetter: A setter with unit properties like .meters, .inches, etc.
4147
+
4148
+ Example:
4149
+ >>> length = Length("beam_length")
4150
+ >>> length.set(100).millimeters # Sets to 100 mm
4151
+ """
4152
+ ...
4153
+
4154
+ class Wavenumber(FieldQnty):
4155
+ """
4156
+ Type-safe wavenumber quantity with expression capabilities.
4157
+
4158
+ Constructor Options:
4159
+ -------------------
4160
+ - Wavenumber("variable_name") -> Create unknown wavenumber
4161
+ - Wavenumber(value, "unit", "variable_name") -> Create known wavenumber
4162
+
4163
+ Examples:
4164
+ ---------
4165
+ >>> unknown = Wavenumber("pressure") # Unknown wavenumber
4166
+ >>> known = Wavenumber(100, "diopter", "inlet_pressure") # Known wavenumber
4167
+
4168
+ Available units: "diopter", "kayser", "reciprocal_meter"
4169
+ """
4170
+
4171
+ __slots__ = ()
4172
+ _setter_class = ts.WavenumberSetter
4173
+ _dimension = dim.WAVENUMBER
4174
+
4175
+ def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
4176
+ def set(self, value: float, unit: str | None = None) -> ts.WavenumberSetter:
4177
+ """
4178
+ Create a setter for this wavenumber quantity.
4179
+
4180
+ Args:
4181
+ value: The numeric value to set
4182
+ unit: Optional unit string (for compatibility with base class)
4183
+
4184
+ Returns:
4185
+ WavenumberSetter: A setter with unit properties like .meters, .inches, etc.
4186
+
4187
+ Example:
4188
+ >>> length = Length("beam_length")
4189
+ >>> length.set(100).millimeters # Sets to 100 mm
4190
+ """
4191
+ ...