qnty 0.1.2__py3-none-any.whl → 0.1.3__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.
@@ -86,6 +86,34 @@ class AbsorbedDose(FieldQnty):
86
86
  else:
87
87
  return field_setter.AbsorbedDoseSetter(self, value)
88
88
 
89
+ @property
90
+ def value(self) -> float | None:
91
+ """
92
+ Get the numeric value of this absorbed radiation dose.
93
+
94
+ Returns:
95
+ The numeric value if known, None if unknown
96
+
97
+ Example:
98
+ >>> length = Length(100, "mm", "beam_length")
99
+ >>> length.value # Returns 100.0
100
+ """
101
+ return self.quantity.value if self.quantity is not None else None
102
+
103
+ @property
104
+ def unit(self) -> str | None:
105
+ """
106
+ Get the unit symbol of this absorbed radiation dose.
107
+
108
+ Returns:
109
+ The unit symbol if known, None if unknown
110
+
111
+ Example:
112
+ >>> length = Length(100, "mm", "beam_length")
113
+ >>> length.unit # Returns "mm"
114
+ """
115
+ return self.quantity.unit.symbol if self.quantity is not None else None
116
+
89
117
 
90
118
  class Acceleration(FieldQnty):
91
119
  """
@@ -155,6 +183,34 @@ class Acceleration(FieldQnty):
155
183
  else:
156
184
  return field_setter.AccelerationSetter(self, value)
157
185
 
186
+ @property
187
+ def value(self) -> float | None:
188
+ """
189
+ Get the numeric value of this acceleration.
190
+
191
+ Returns:
192
+ The numeric value if known, None if unknown
193
+
194
+ Example:
195
+ >>> length = Length(100, "mm", "beam_length")
196
+ >>> length.value # Returns 100.0
197
+ """
198
+ return self.quantity.value if self.quantity is not None else None
199
+
200
+ @property
201
+ def unit(self) -> str | None:
202
+ """
203
+ Get the unit symbol of this acceleration.
204
+
205
+ Returns:
206
+ The unit symbol if known, None if unknown
207
+
208
+ Example:
209
+ >>> length = Length(100, "mm", "beam_length")
210
+ >>> length.unit # Returns "mm"
211
+ """
212
+ return self.quantity.unit.symbol if self.quantity is not None else None
213
+
158
214
 
159
215
  class ActivationEnergy(FieldQnty):
160
216
  """
@@ -224,6 +280,34 @@ class ActivationEnergy(FieldQnty):
224
280
  else:
225
281
  return field_setter.ActivationEnergySetter(self, value)
226
282
 
283
+ @property
284
+ def value(self) -> float | None:
285
+ """
286
+ Get the numeric value of this activation energy.
287
+
288
+ Returns:
289
+ The numeric value if known, None if unknown
290
+
291
+ Example:
292
+ >>> length = Length(100, "mm", "beam_length")
293
+ >>> length.value # Returns 100.0
294
+ """
295
+ return self.quantity.value if self.quantity is not None else None
296
+
297
+ @property
298
+ def unit(self) -> str | None:
299
+ """
300
+ Get the unit symbol of this activation energy.
301
+
302
+ Returns:
303
+ The unit symbol if known, None if unknown
304
+
305
+ Example:
306
+ >>> length = Length(100, "mm", "beam_length")
307
+ >>> length.unit # Returns "mm"
308
+ """
309
+ return self.quantity.unit.symbol if self.quantity is not None else None
310
+
227
311
 
228
312
  class AmountOfSubstance(FieldQnty):
229
313
  """
@@ -293,6 +377,34 @@ class AmountOfSubstance(FieldQnty):
293
377
  else:
294
378
  return field_setter.AmountOfSubstanceSetter(self, value)
295
379
 
380
+ @property
381
+ def value(self) -> float | None:
382
+ """
383
+ Get the numeric value of this amount of substance.
384
+
385
+ Returns:
386
+ The numeric value if known, None if unknown
387
+
388
+ Example:
389
+ >>> length = Length(100, "mm", "beam_length")
390
+ >>> length.value # Returns 100.0
391
+ """
392
+ return self.quantity.value if self.quantity is not None else None
393
+
394
+ @property
395
+ def unit(self) -> str | None:
396
+ """
397
+ Get the unit symbol of this amount of substance.
398
+
399
+ Returns:
400
+ The unit symbol if known, None if unknown
401
+
402
+ Example:
403
+ >>> length = Length(100, "mm", "beam_length")
404
+ >>> length.unit # Returns "mm"
405
+ """
406
+ return self.quantity.unit.symbol if self.quantity is not None else None
407
+
296
408
 
297
409
  class AnglePlane(FieldQnty):
298
410
  """
@@ -362,6 +474,34 @@ class AnglePlane(FieldQnty):
362
474
  else:
363
475
  return field_setter.AnglePlaneSetter(self, value)
364
476
 
477
+ @property
478
+ def value(self) -> float | None:
479
+ """
480
+ Get the numeric value of this angle, plane.
481
+
482
+ Returns:
483
+ The numeric value if known, None if unknown
484
+
485
+ Example:
486
+ >>> length = Length(100, "mm", "beam_length")
487
+ >>> length.value # Returns 100.0
488
+ """
489
+ return self.quantity.value if self.quantity is not None else None
490
+
491
+ @property
492
+ def unit(self) -> str | None:
493
+ """
494
+ Get the unit symbol of this angle, plane.
495
+
496
+ Returns:
497
+ The unit symbol if known, None if unknown
498
+
499
+ Example:
500
+ >>> length = Length(100, "mm", "beam_length")
501
+ >>> length.unit # Returns "mm"
502
+ """
503
+ return self.quantity.unit.symbol if self.quantity is not None else None
504
+
365
505
 
366
506
  class AngleSolid(FieldQnty):
367
507
  """
@@ -431,6 +571,34 @@ class AngleSolid(FieldQnty):
431
571
  else:
432
572
  return field_setter.AngleSolidSetter(self, value)
433
573
 
574
+ @property
575
+ def value(self) -> float | None:
576
+ """
577
+ Get the numeric value of this angle, solid.
578
+
579
+ Returns:
580
+ The numeric value if known, None if unknown
581
+
582
+ Example:
583
+ >>> length = Length(100, "mm", "beam_length")
584
+ >>> length.value # Returns 100.0
585
+ """
586
+ return self.quantity.value if self.quantity is not None else None
587
+
588
+ @property
589
+ def unit(self) -> str | None:
590
+ """
591
+ Get the unit symbol of this angle, solid.
592
+
593
+ Returns:
594
+ The unit symbol if known, None if unknown
595
+
596
+ Example:
597
+ >>> length = Length(100, "mm", "beam_length")
598
+ >>> length.unit # Returns "mm"
599
+ """
600
+ return self.quantity.unit.symbol if self.quantity is not None else None
601
+
434
602
 
435
603
  class AngularAcceleration(FieldQnty):
436
604
  """
@@ -500,6 +668,34 @@ class AngularAcceleration(FieldQnty):
500
668
  else:
501
669
  return field_setter.AngularAccelerationSetter(self, value)
502
670
 
671
+ @property
672
+ def value(self) -> float | None:
673
+ """
674
+ Get the numeric value of this angular acceleration.
675
+
676
+ Returns:
677
+ The numeric value if known, None if unknown
678
+
679
+ Example:
680
+ >>> length = Length(100, "mm", "beam_length")
681
+ >>> length.value # Returns 100.0
682
+ """
683
+ return self.quantity.value if self.quantity is not None else None
684
+
685
+ @property
686
+ def unit(self) -> str | None:
687
+ """
688
+ Get the unit symbol of this angular acceleration.
689
+
690
+ Returns:
691
+ The unit symbol if known, None if unknown
692
+
693
+ Example:
694
+ >>> length = Length(100, "mm", "beam_length")
695
+ >>> length.unit # Returns "mm"
696
+ """
697
+ return self.quantity.unit.symbol if self.quantity is not None else None
698
+
503
699
 
504
700
  class AngularMomentum(FieldQnty):
505
701
  """
@@ -569,6 +765,34 @@ class AngularMomentum(FieldQnty):
569
765
  else:
570
766
  return field_setter.AngularMomentumSetter(self, value)
571
767
 
768
+ @property
769
+ def value(self) -> float | None:
770
+ """
771
+ Get the numeric value of this angular momentum.
772
+
773
+ Returns:
774
+ The numeric value if known, None if unknown
775
+
776
+ Example:
777
+ >>> length = Length(100, "mm", "beam_length")
778
+ >>> length.value # Returns 100.0
779
+ """
780
+ return self.quantity.value if self.quantity is not None else None
781
+
782
+ @property
783
+ def unit(self) -> str | None:
784
+ """
785
+ Get the unit symbol of this angular momentum.
786
+
787
+ Returns:
788
+ The unit symbol if known, None if unknown
789
+
790
+ Example:
791
+ >>> length = Length(100, "mm", "beam_length")
792
+ >>> length.unit # Returns "mm"
793
+ """
794
+ return self.quantity.unit.symbol if self.quantity is not None else None
795
+
572
796
 
573
797
  class Area(FieldQnty):
574
798
  """
@@ -638,6 +862,34 @@ class Area(FieldQnty):
638
862
  else:
639
863
  return field_setter.AreaSetter(self, value)
640
864
 
865
+ @property
866
+ def value(self) -> float | None:
867
+ """
868
+ Get the numeric value of this area.
869
+
870
+ Returns:
871
+ The numeric value if known, None if unknown
872
+
873
+ Example:
874
+ >>> length = Length(100, "mm", "beam_length")
875
+ >>> length.value # Returns 100.0
876
+ """
877
+ return self.quantity.value if self.quantity is not None else None
878
+
879
+ @property
880
+ def unit(self) -> str | None:
881
+ """
882
+ Get the unit symbol of this area.
883
+
884
+ Returns:
885
+ The unit symbol if known, None if unknown
886
+
887
+ Example:
888
+ >>> length = Length(100, "mm", "beam_length")
889
+ >>> length.unit # Returns "mm"
890
+ """
891
+ return self.quantity.unit.symbol if self.quantity is not None else None
892
+
641
893
 
642
894
  class AreaPerUnitVolume(FieldQnty):
643
895
  """
@@ -707,6 +959,34 @@ class AreaPerUnitVolume(FieldQnty):
707
959
  else:
708
960
  return field_setter.AreaPerUnitVolumeSetter(self, value)
709
961
 
962
+ @property
963
+ def value(self) -> float | None:
964
+ """
965
+ Get the numeric value of this area per unit volume.
966
+
967
+ Returns:
968
+ The numeric value if known, None if unknown
969
+
970
+ Example:
971
+ >>> length = Length(100, "mm", "beam_length")
972
+ >>> length.value # Returns 100.0
973
+ """
974
+ return self.quantity.value if self.quantity is not None else None
975
+
976
+ @property
977
+ def unit(self) -> str | None:
978
+ """
979
+ Get the unit symbol of this area per unit volume.
980
+
981
+ Returns:
982
+ The unit symbol if known, None if unknown
983
+
984
+ Example:
985
+ >>> length = Length(100, "mm", "beam_length")
986
+ >>> length.unit # Returns "mm"
987
+ """
988
+ return self.quantity.unit.symbol if self.quantity is not None else None
989
+
710
990
 
711
991
  class AtomicWeight(FieldQnty):
712
992
  """
@@ -776,6 +1056,34 @@ class AtomicWeight(FieldQnty):
776
1056
  else:
777
1057
  return field_setter.AtomicWeightSetter(self, value)
778
1058
 
1059
+ @property
1060
+ def value(self) -> float | None:
1061
+ """
1062
+ Get the numeric value of this atomic weight.
1063
+
1064
+ Returns:
1065
+ The numeric value if known, None if unknown
1066
+
1067
+ Example:
1068
+ >>> length = Length(100, "mm", "beam_length")
1069
+ >>> length.value # Returns 100.0
1070
+ """
1071
+ return self.quantity.value if self.quantity is not None else None
1072
+
1073
+ @property
1074
+ def unit(self) -> str | None:
1075
+ """
1076
+ Get the unit symbol of this atomic weight.
1077
+
1078
+ Returns:
1079
+ The unit symbol if known, None if unknown
1080
+
1081
+ Example:
1082
+ >>> length = Length(100, "mm", "beam_length")
1083
+ >>> length.unit # Returns "mm"
1084
+ """
1085
+ return self.quantity.unit.symbol if self.quantity is not None else None
1086
+
779
1087
 
780
1088
  class Concentration(FieldQnty):
781
1089
  """
@@ -845,6 +1153,34 @@ class Concentration(FieldQnty):
845
1153
  else:
846
1154
  return field_setter.ConcentrationSetter(self, value)
847
1155
 
1156
+ @property
1157
+ def value(self) -> float | None:
1158
+ """
1159
+ Get the numeric value of this concentration.
1160
+
1161
+ Returns:
1162
+ The numeric value if known, None if unknown
1163
+
1164
+ Example:
1165
+ >>> length = Length(100, "mm", "beam_length")
1166
+ >>> length.value # Returns 100.0
1167
+ """
1168
+ return self.quantity.value if self.quantity is not None else None
1169
+
1170
+ @property
1171
+ def unit(self) -> str | None:
1172
+ """
1173
+ Get the unit symbol of this concentration.
1174
+
1175
+ Returns:
1176
+ The unit symbol if known, None if unknown
1177
+
1178
+ Example:
1179
+ >>> length = Length(100, "mm", "beam_length")
1180
+ >>> length.unit # Returns "mm"
1181
+ """
1182
+ return self.quantity.unit.symbol if self.quantity is not None else None
1183
+
848
1184
 
849
1185
  class Dimensionless(FieldQnty):
850
1186
  """
@@ -909,6 +1245,34 @@ class Dimensionless(FieldQnty):
909
1245
  else:
910
1246
  return field_setter.DimensionlessSetter(self, value)
911
1247
 
1248
+ @property
1249
+ def value(self) -> float | None:
1250
+ """
1251
+ Get the numeric value of this dimensionless.
1252
+
1253
+ Returns:
1254
+ The numeric value if known, None if unknown
1255
+
1256
+ Example:
1257
+ >>> length = Length(100, "mm", "beam_length")
1258
+ >>> length.value # Returns 100.0
1259
+ """
1260
+ return self.quantity.value if self.quantity is not None else None
1261
+
1262
+ @property
1263
+ def unit(self) -> str | None:
1264
+ """
1265
+ Get the unit symbol of this dimensionless.
1266
+
1267
+ Returns:
1268
+ The unit symbol if known, None if unknown
1269
+
1270
+ Example:
1271
+ >>> length = Length(100, "mm", "beam_length")
1272
+ >>> length.unit # Returns "mm"
1273
+ """
1274
+ return self.quantity.unit.symbol if self.quantity is not None else None
1275
+
912
1276
 
913
1277
  class DynamicFluidity(FieldQnty):
914
1278
  """
@@ -978,6 +1342,34 @@ class DynamicFluidity(FieldQnty):
978
1342
  else:
979
1343
  return field_setter.DynamicFluiditySetter(self, value)
980
1344
 
1345
+ @property
1346
+ def value(self) -> float | None:
1347
+ """
1348
+ Get the numeric value of this dynamic fluidity.
1349
+
1350
+ Returns:
1351
+ The numeric value if known, None if unknown
1352
+
1353
+ Example:
1354
+ >>> length = Length(100, "mm", "beam_length")
1355
+ >>> length.value # Returns 100.0
1356
+ """
1357
+ return self.quantity.value if self.quantity is not None else None
1358
+
1359
+ @property
1360
+ def unit(self) -> str | None:
1361
+ """
1362
+ Get the unit symbol of this dynamic fluidity.
1363
+
1364
+ Returns:
1365
+ The unit symbol if known, None if unknown
1366
+
1367
+ Example:
1368
+ >>> length = Length(100, "mm", "beam_length")
1369
+ >>> length.unit # Returns "mm"
1370
+ """
1371
+ return self.quantity.unit.symbol if self.quantity is not None else None
1372
+
981
1373
 
982
1374
  class ElectricCapacitance(FieldQnty):
983
1375
  """
@@ -1047,6 +1439,34 @@ class ElectricCapacitance(FieldQnty):
1047
1439
  else:
1048
1440
  return field_setter.ElectricCapacitanceSetter(self, value)
1049
1441
 
1442
+ @property
1443
+ def value(self) -> float | None:
1444
+ """
1445
+ Get the numeric value of this electric capacitance.
1446
+
1447
+ Returns:
1448
+ The numeric value if known, None if unknown
1449
+
1450
+ Example:
1451
+ >>> length = Length(100, "mm", "beam_length")
1452
+ >>> length.value # Returns 100.0
1453
+ """
1454
+ return self.quantity.value if self.quantity is not None else None
1455
+
1456
+ @property
1457
+ def unit(self) -> str | None:
1458
+ """
1459
+ Get the unit symbol of this electric capacitance.
1460
+
1461
+ Returns:
1462
+ The unit symbol if known, None if unknown
1463
+
1464
+ Example:
1465
+ >>> length = Length(100, "mm", "beam_length")
1466
+ >>> length.unit # Returns "mm"
1467
+ """
1468
+ return self.quantity.unit.symbol if self.quantity is not None else None
1469
+
1050
1470
 
1051
1471
  class ElectricCharge(FieldQnty):
1052
1472
  """
@@ -1116,6 +1536,34 @@ class ElectricCharge(FieldQnty):
1116
1536
  else:
1117
1537
  return field_setter.ElectricChargeSetter(self, value)
1118
1538
 
1539
+ @property
1540
+ def value(self) -> float | None:
1541
+ """
1542
+ Get the numeric value of this electric charge.
1543
+
1544
+ Returns:
1545
+ The numeric value if known, None if unknown
1546
+
1547
+ Example:
1548
+ >>> length = Length(100, "mm", "beam_length")
1549
+ >>> length.value # Returns 100.0
1550
+ """
1551
+ return self.quantity.value if self.quantity is not None else None
1552
+
1553
+ @property
1554
+ def unit(self) -> str | None:
1555
+ """
1556
+ Get the unit symbol of this electric charge.
1557
+
1558
+ Returns:
1559
+ The unit symbol if known, None if unknown
1560
+
1561
+ Example:
1562
+ >>> length = Length(100, "mm", "beam_length")
1563
+ >>> length.unit # Returns "mm"
1564
+ """
1565
+ return self.quantity.unit.symbol if self.quantity is not None else None
1566
+
1119
1567
 
1120
1568
  class ElectricCurrentIntensity(FieldQnty):
1121
1569
  """
@@ -1185,6 +1633,34 @@ class ElectricCurrentIntensity(FieldQnty):
1185
1633
  else:
1186
1634
  return field_setter.ElectricCurrentIntensitySetter(self, value)
1187
1635
 
1636
+ @property
1637
+ def value(self) -> float | None:
1638
+ """
1639
+ Get the numeric value of this electric current intensity.
1640
+
1641
+ Returns:
1642
+ The numeric value if known, None if unknown
1643
+
1644
+ Example:
1645
+ >>> length = Length(100, "mm", "beam_length")
1646
+ >>> length.value # Returns 100.0
1647
+ """
1648
+ return self.quantity.value if self.quantity is not None else None
1649
+
1650
+ @property
1651
+ def unit(self) -> str | None:
1652
+ """
1653
+ Get the unit symbol of this electric current intensity.
1654
+
1655
+ Returns:
1656
+ The unit symbol if known, None if unknown
1657
+
1658
+ Example:
1659
+ >>> length = Length(100, "mm", "beam_length")
1660
+ >>> length.unit # Returns "mm"
1661
+ """
1662
+ return self.quantity.unit.symbol if self.quantity is not None else None
1663
+
1188
1664
 
1189
1665
  class ElectricDipoleMoment(FieldQnty):
1190
1666
  """
@@ -1254,6 +1730,34 @@ class ElectricDipoleMoment(FieldQnty):
1254
1730
  else:
1255
1731
  return field_setter.ElectricDipoleMomentSetter(self, value)
1256
1732
 
1733
+ @property
1734
+ def value(self) -> float | None:
1735
+ """
1736
+ Get the numeric value of this electric dipole moment.
1737
+
1738
+ Returns:
1739
+ The numeric value if known, None if unknown
1740
+
1741
+ Example:
1742
+ >>> length = Length(100, "mm", "beam_length")
1743
+ >>> length.value # Returns 100.0
1744
+ """
1745
+ return self.quantity.value if self.quantity is not None else None
1746
+
1747
+ @property
1748
+ def unit(self) -> str | None:
1749
+ """
1750
+ Get the unit symbol of this electric dipole moment.
1751
+
1752
+ Returns:
1753
+ The unit symbol if known, None if unknown
1754
+
1755
+ Example:
1756
+ >>> length = Length(100, "mm", "beam_length")
1757
+ >>> length.unit # Returns "mm"
1758
+ """
1759
+ return self.quantity.unit.symbol if self.quantity is not None else None
1760
+
1257
1761
 
1258
1762
  class ElectricFieldStrength(FieldQnty):
1259
1763
  """
@@ -1323,10 +1827,38 @@ class ElectricFieldStrength(FieldQnty):
1323
1827
  else:
1324
1828
  return field_setter.ElectricFieldStrengthSetter(self, value)
1325
1829
 
1326
-
1327
- class ElectricInductance(FieldQnty):
1328
- """
1329
- Type-safe electric inductance quantity with expression capabilities.
1830
+ @property
1831
+ def value(self) -> float | None:
1832
+ """
1833
+ Get the numeric value of this electric field strength.
1834
+
1835
+ Returns:
1836
+ The numeric value if known, None if unknown
1837
+
1838
+ Example:
1839
+ >>> length = Length(100, "mm", "beam_length")
1840
+ >>> length.value # Returns 100.0
1841
+ """
1842
+ return self.quantity.value if self.quantity is not None else None
1843
+
1844
+ @property
1845
+ def unit(self) -> str | None:
1846
+ """
1847
+ Get the unit symbol of this electric field strength.
1848
+
1849
+ Returns:
1850
+ The unit symbol if known, None if unknown
1851
+
1852
+ Example:
1853
+ >>> length = Length(100, "mm", "beam_length")
1854
+ >>> length.unit # Returns "mm"
1855
+ """
1856
+ return self.quantity.unit.symbol if self.quantity is not None else None
1857
+
1858
+
1859
+ class ElectricInductance(FieldQnty):
1860
+ """
1861
+ Type-safe electric inductance quantity with expression capabilities.
1330
1862
 
1331
1863
  Constructor Options:
1332
1864
  -------------------
@@ -1392,6 +1924,34 @@ class ElectricInductance(FieldQnty):
1392
1924
  else:
1393
1925
  return field_setter.ElectricInductanceSetter(self, value)
1394
1926
 
1927
+ @property
1928
+ def value(self) -> float | None:
1929
+ """
1930
+ Get the numeric value of this electric inductance.
1931
+
1932
+ Returns:
1933
+ The numeric value if known, None if unknown
1934
+
1935
+ Example:
1936
+ >>> length = Length(100, "mm", "beam_length")
1937
+ >>> length.value # Returns 100.0
1938
+ """
1939
+ return self.quantity.value if self.quantity is not None else None
1940
+
1941
+ @property
1942
+ def unit(self) -> str | None:
1943
+ """
1944
+ Get the unit symbol of this electric inductance.
1945
+
1946
+ Returns:
1947
+ The unit symbol if known, None if unknown
1948
+
1949
+ Example:
1950
+ >>> length = Length(100, "mm", "beam_length")
1951
+ >>> length.unit # Returns "mm"
1952
+ """
1953
+ return self.quantity.unit.symbol if self.quantity is not None else None
1954
+
1395
1955
 
1396
1956
  class ElectricPotential(FieldQnty):
1397
1957
  """
@@ -1461,6 +2021,34 @@ class ElectricPotential(FieldQnty):
1461
2021
  else:
1462
2022
  return field_setter.ElectricPotentialSetter(self, value)
1463
2023
 
2024
+ @property
2025
+ def value(self) -> float | None:
2026
+ """
2027
+ Get the numeric value of this electric potential.
2028
+
2029
+ Returns:
2030
+ The numeric value if known, None if unknown
2031
+
2032
+ Example:
2033
+ >>> length = Length(100, "mm", "beam_length")
2034
+ >>> length.value # Returns 100.0
2035
+ """
2036
+ return self.quantity.value if self.quantity is not None else None
2037
+
2038
+ @property
2039
+ def unit(self) -> str | None:
2040
+ """
2041
+ Get the unit symbol of this electric potential.
2042
+
2043
+ Returns:
2044
+ The unit symbol if known, None if unknown
2045
+
2046
+ Example:
2047
+ >>> length = Length(100, "mm", "beam_length")
2048
+ >>> length.unit # Returns "mm"
2049
+ """
2050
+ return self.quantity.unit.symbol if self.quantity is not None else None
2051
+
1464
2052
 
1465
2053
  class ElectricResistance(FieldQnty):
1466
2054
  """
@@ -1530,6 +2118,34 @@ class ElectricResistance(FieldQnty):
1530
2118
  else:
1531
2119
  return field_setter.ElectricResistanceSetter(self, value)
1532
2120
 
2121
+ @property
2122
+ def value(self) -> float | None:
2123
+ """
2124
+ Get the numeric value of this electric resistance.
2125
+
2126
+ Returns:
2127
+ The numeric value if known, None if unknown
2128
+
2129
+ Example:
2130
+ >>> length = Length(100, "mm", "beam_length")
2131
+ >>> length.value # Returns 100.0
2132
+ """
2133
+ return self.quantity.value if self.quantity is not None else None
2134
+
2135
+ @property
2136
+ def unit(self) -> str | None:
2137
+ """
2138
+ Get the unit symbol of this electric resistance.
2139
+
2140
+ Returns:
2141
+ The unit symbol if known, None if unknown
2142
+
2143
+ Example:
2144
+ >>> length = Length(100, "mm", "beam_length")
2145
+ >>> length.unit # Returns "mm"
2146
+ """
2147
+ return self.quantity.unit.symbol if self.quantity is not None else None
2148
+
1533
2149
 
1534
2150
  class ElectricalConductance(FieldQnty):
1535
2151
  """
@@ -1599,6 +2215,34 @@ class ElectricalConductance(FieldQnty):
1599
2215
  else:
1600
2216
  return field_setter.ElectricalConductanceSetter(self, value)
1601
2217
 
2218
+ @property
2219
+ def value(self) -> float | None:
2220
+ """
2221
+ Get the numeric value of this electrical conductance.
2222
+
2223
+ Returns:
2224
+ The numeric value if known, None if unknown
2225
+
2226
+ Example:
2227
+ >>> length = Length(100, "mm", "beam_length")
2228
+ >>> length.value # Returns 100.0
2229
+ """
2230
+ return self.quantity.value if self.quantity is not None else None
2231
+
2232
+ @property
2233
+ def unit(self) -> str | None:
2234
+ """
2235
+ Get the unit symbol of this electrical conductance.
2236
+
2237
+ Returns:
2238
+ The unit symbol if known, None if unknown
2239
+
2240
+ Example:
2241
+ >>> length = Length(100, "mm", "beam_length")
2242
+ >>> length.unit # Returns "mm"
2243
+ """
2244
+ return self.quantity.unit.symbol if self.quantity is not None else None
2245
+
1602
2246
 
1603
2247
  class ElectricalPermittivity(FieldQnty):
1604
2248
  """
@@ -1668,6 +2312,34 @@ class ElectricalPermittivity(FieldQnty):
1668
2312
  else:
1669
2313
  return field_setter.ElectricalPermittivitySetter(self, value)
1670
2314
 
2315
+ @property
2316
+ def value(self) -> float | None:
2317
+ """
2318
+ Get the numeric value of this electrical permittivity.
2319
+
2320
+ Returns:
2321
+ The numeric value if known, None if unknown
2322
+
2323
+ Example:
2324
+ >>> length = Length(100, "mm", "beam_length")
2325
+ >>> length.value # Returns 100.0
2326
+ """
2327
+ return self.quantity.value if self.quantity is not None else None
2328
+
2329
+ @property
2330
+ def unit(self) -> str | None:
2331
+ """
2332
+ Get the unit symbol of this electrical permittivity.
2333
+
2334
+ Returns:
2335
+ The unit symbol if known, None if unknown
2336
+
2337
+ Example:
2338
+ >>> length = Length(100, "mm", "beam_length")
2339
+ >>> length.unit # Returns "mm"
2340
+ """
2341
+ return self.quantity.unit.symbol if self.quantity is not None else None
2342
+
1671
2343
 
1672
2344
  class ElectricalResistivity(FieldQnty):
1673
2345
  """
@@ -1737,6 +2409,34 @@ class ElectricalResistivity(FieldQnty):
1737
2409
  else:
1738
2410
  return field_setter.ElectricalResistivitySetter(self, value)
1739
2411
 
2412
+ @property
2413
+ def value(self) -> float | None:
2414
+ """
2415
+ Get the numeric value of this electrical resistivity.
2416
+
2417
+ Returns:
2418
+ The numeric value if known, None if unknown
2419
+
2420
+ Example:
2421
+ >>> length = Length(100, "mm", "beam_length")
2422
+ >>> length.value # Returns 100.0
2423
+ """
2424
+ return self.quantity.value if self.quantity is not None else None
2425
+
2426
+ @property
2427
+ def unit(self) -> str | None:
2428
+ """
2429
+ Get the unit symbol of this electrical resistivity.
2430
+
2431
+ Returns:
2432
+ The unit symbol if known, None if unknown
2433
+
2434
+ Example:
2435
+ >>> length = Length(100, "mm", "beam_length")
2436
+ >>> length.unit # Returns "mm"
2437
+ """
2438
+ return self.quantity.unit.symbol if self.quantity is not None else None
2439
+
1740
2440
 
1741
2441
  class EnergyFlux(FieldQnty):
1742
2442
  """
@@ -1806,6 +2506,34 @@ class EnergyFlux(FieldQnty):
1806
2506
  else:
1807
2507
  return field_setter.EnergyFluxSetter(self, value)
1808
2508
 
2509
+ @property
2510
+ def value(self) -> float | None:
2511
+ """
2512
+ Get the numeric value of this energy flux.
2513
+
2514
+ Returns:
2515
+ The numeric value if known, None if unknown
2516
+
2517
+ Example:
2518
+ >>> length = Length(100, "mm", "beam_length")
2519
+ >>> length.value # Returns 100.0
2520
+ """
2521
+ return self.quantity.value if self.quantity is not None else None
2522
+
2523
+ @property
2524
+ def unit(self) -> str | None:
2525
+ """
2526
+ Get the unit symbol of this energy flux.
2527
+
2528
+ Returns:
2529
+ The unit symbol if known, None if unknown
2530
+
2531
+ Example:
2532
+ >>> length = Length(100, "mm", "beam_length")
2533
+ >>> length.unit # Returns "mm"
2534
+ """
2535
+ return self.quantity.unit.symbol if self.quantity is not None else None
2536
+
1809
2537
 
1810
2538
  class EnergyHeatWork(FieldQnty):
1811
2539
  """
@@ -1875,6 +2603,34 @@ class EnergyHeatWork(FieldQnty):
1875
2603
  else:
1876
2604
  return field_setter.EnergyHeatWorkSetter(self, value)
1877
2605
 
2606
+ @property
2607
+ def value(self) -> float | None:
2608
+ """
2609
+ Get the numeric value of this energy, heat, work.
2610
+
2611
+ Returns:
2612
+ The numeric value if known, None if unknown
2613
+
2614
+ Example:
2615
+ >>> length = Length(100, "mm", "beam_length")
2616
+ >>> length.value # Returns 100.0
2617
+ """
2618
+ return self.quantity.value if self.quantity is not None else None
2619
+
2620
+ @property
2621
+ def unit(self) -> str | None:
2622
+ """
2623
+ Get the unit symbol of this energy, heat, work.
2624
+
2625
+ Returns:
2626
+ The unit symbol if known, None if unknown
2627
+
2628
+ Example:
2629
+ >>> length = Length(100, "mm", "beam_length")
2630
+ >>> length.unit # Returns "mm"
2631
+ """
2632
+ return self.quantity.unit.symbol if self.quantity is not None else None
2633
+
1878
2634
 
1879
2635
  class EnergyPerUnitArea(FieldQnty):
1880
2636
  """
@@ -1944,6 +2700,34 @@ class EnergyPerUnitArea(FieldQnty):
1944
2700
  else:
1945
2701
  return field_setter.EnergyPerUnitAreaSetter(self, value)
1946
2702
 
2703
+ @property
2704
+ def value(self) -> float | None:
2705
+ """
2706
+ Get the numeric value of this energy per unit area.
2707
+
2708
+ Returns:
2709
+ The numeric value if known, None if unknown
2710
+
2711
+ Example:
2712
+ >>> length = Length(100, "mm", "beam_length")
2713
+ >>> length.value # Returns 100.0
2714
+ """
2715
+ return self.quantity.value if self.quantity is not None else None
2716
+
2717
+ @property
2718
+ def unit(self) -> str | None:
2719
+ """
2720
+ Get the unit symbol of this energy per unit area.
2721
+
2722
+ Returns:
2723
+ The unit symbol if known, None if unknown
2724
+
2725
+ Example:
2726
+ >>> length = Length(100, "mm", "beam_length")
2727
+ >>> length.unit # Returns "mm"
2728
+ """
2729
+ return self.quantity.unit.symbol if self.quantity is not None else None
2730
+
1947
2731
 
1948
2732
  class Force(FieldQnty):
1949
2733
  """
@@ -2013,6 +2797,34 @@ class Force(FieldQnty):
2013
2797
  else:
2014
2798
  return field_setter.ForceSetter(self, value)
2015
2799
 
2800
+ @property
2801
+ def value(self) -> float | None:
2802
+ """
2803
+ Get the numeric value of this force.
2804
+
2805
+ Returns:
2806
+ The numeric value if known, None if unknown
2807
+
2808
+ Example:
2809
+ >>> length = Length(100, "mm", "beam_length")
2810
+ >>> length.value # Returns 100.0
2811
+ """
2812
+ return self.quantity.value if self.quantity is not None else None
2813
+
2814
+ @property
2815
+ def unit(self) -> str | None:
2816
+ """
2817
+ Get the unit symbol of this force.
2818
+
2819
+ Returns:
2820
+ The unit symbol if known, None if unknown
2821
+
2822
+ Example:
2823
+ >>> length = Length(100, "mm", "beam_length")
2824
+ >>> length.unit # Returns "mm"
2825
+ """
2826
+ return self.quantity.unit.symbol if self.quantity is not None else None
2827
+
2016
2828
 
2017
2829
  class ForceBody(FieldQnty):
2018
2830
  """
@@ -2082,6 +2894,34 @@ class ForceBody(FieldQnty):
2082
2894
  else:
2083
2895
  return field_setter.ForceBodySetter(self, value)
2084
2896
 
2897
+ @property
2898
+ def value(self) -> float | None:
2899
+ """
2900
+ Get the numeric value of this force (body).
2901
+
2902
+ Returns:
2903
+ The numeric value if known, None if unknown
2904
+
2905
+ Example:
2906
+ >>> length = Length(100, "mm", "beam_length")
2907
+ >>> length.value # Returns 100.0
2908
+ """
2909
+ return self.quantity.value if self.quantity is not None else None
2910
+
2911
+ @property
2912
+ def unit(self) -> str | None:
2913
+ """
2914
+ Get the unit symbol of this force (body).
2915
+
2916
+ Returns:
2917
+ The unit symbol if known, None if unknown
2918
+
2919
+ Example:
2920
+ >>> length = Length(100, "mm", "beam_length")
2921
+ >>> length.unit # Returns "mm"
2922
+ """
2923
+ return self.quantity.unit.symbol if self.quantity is not None else None
2924
+
2085
2925
 
2086
2926
  class ForcePerUnitMass(FieldQnty):
2087
2927
  """
@@ -2151,6 +2991,34 @@ class ForcePerUnitMass(FieldQnty):
2151
2991
  else:
2152
2992
  return field_setter.ForcePerUnitMassSetter(self, value)
2153
2993
 
2994
+ @property
2995
+ def value(self) -> float | None:
2996
+ """
2997
+ Get the numeric value of this force per unit mass.
2998
+
2999
+ Returns:
3000
+ The numeric value if known, None if unknown
3001
+
3002
+ Example:
3003
+ >>> length = Length(100, "mm", "beam_length")
3004
+ >>> length.value # Returns 100.0
3005
+ """
3006
+ return self.quantity.value if self.quantity is not None else None
3007
+
3008
+ @property
3009
+ def unit(self) -> str | None:
3010
+ """
3011
+ Get the unit symbol of this force per unit mass.
3012
+
3013
+ Returns:
3014
+ The unit symbol if known, None if unknown
3015
+
3016
+ Example:
3017
+ >>> length = Length(100, "mm", "beam_length")
3018
+ >>> length.unit # Returns "mm"
3019
+ """
3020
+ return self.quantity.unit.symbol if self.quantity is not None else None
3021
+
2154
3022
 
2155
3023
  class FrequencyVoltageRatio(FieldQnty):
2156
3024
  """
@@ -2220,6 +3088,34 @@ class FrequencyVoltageRatio(FieldQnty):
2220
3088
  else:
2221
3089
  return field_setter.FrequencyVoltageRatioSetter(self, value)
2222
3090
 
3091
+ @property
3092
+ def value(self) -> float | None:
3093
+ """
3094
+ Get the numeric value of this frequency voltage ratio.
3095
+
3096
+ Returns:
3097
+ The numeric value if known, None if unknown
3098
+
3099
+ Example:
3100
+ >>> length = Length(100, "mm", "beam_length")
3101
+ >>> length.value # Returns 100.0
3102
+ """
3103
+ return self.quantity.value if self.quantity is not None else None
3104
+
3105
+ @property
3106
+ def unit(self) -> str | None:
3107
+ """
3108
+ Get the unit symbol of this frequency voltage ratio.
3109
+
3110
+ Returns:
3111
+ The unit symbol if known, None if unknown
3112
+
3113
+ Example:
3114
+ >>> length = Length(100, "mm", "beam_length")
3115
+ >>> length.unit # Returns "mm"
3116
+ """
3117
+ return self.quantity.unit.symbol if self.quantity is not None else None
3118
+
2223
3119
 
2224
3120
  class FuelConsumption(FieldQnty):
2225
3121
  """
@@ -2289,6 +3185,34 @@ class FuelConsumption(FieldQnty):
2289
3185
  else:
2290
3186
  return field_setter.FuelConsumptionSetter(self, value)
2291
3187
 
3188
+ @property
3189
+ def value(self) -> float | None:
3190
+ """
3191
+ Get the numeric value of this fuel consumption.
3192
+
3193
+ Returns:
3194
+ The numeric value if known, None if unknown
3195
+
3196
+ Example:
3197
+ >>> length = Length(100, "mm", "beam_length")
3198
+ >>> length.value # Returns 100.0
3199
+ """
3200
+ return self.quantity.value if self.quantity is not None else None
3201
+
3202
+ @property
3203
+ def unit(self) -> str | None:
3204
+ """
3205
+ Get the unit symbol of this fuel consumption.
3206
+
3207
+ Returns:
3208
+ The unit symbol if known, None if unknown
3209
+
3210
+ Example:
3211
+ >>> length = Length(100, "mm", "beam_length")
3212
+ >>> length.unit # Returns "mm"
3213
+ """
3214
+ return self.quantity.unit.symbol if self.quantity is not None else None
3215
+
2292
3216
 
2293
3217
  class HeatOfCombustion(FieldQnty):
2294
3218
  """
@@ -2358,6 +3282,34 @@ class HeatOfCombustion(FieldQnty):
2358
3282
  else:
2359
3283
  return field_setter.HeatOfCombustionSetter(self, value)
2360
3284
 
3285
+ @property
3286
+ def value(self) -> float | None:
3287
+ """
3288
+ Get the numeric value of this heat of combustion.
3289
+
3290
+ Returns:
3291
+ The numeric value if known, None if unknown
3292
+
3293
+ Example:
3294
+ >>> length = Length(100, "mm", "beam_length")
3295
+ >>> length.value # Returns 100.0
3296
+ """
3297
+ return self.quantity.value if self.quantity is not None else None
3298
+
3299
+ @property
3300
+ def unit(self) -> str | None:
3301
+ """
3302
+ Get the unit symbol of this heat of combustion.
3303
+
3304
+ Returns:
3305
+ The unit symbol if known, None if unknown
3306
+
3307
+ Example:
3308
+ >>> length = Length(100, "mm", "beam_length")
3309
+ >>> length.unit # Returns "mm"
3310
+ """
3311
+ return self.quantity.unit.symbol if self.quantity is not None else None
3312
+
2361
3313
 
2362
3314
  class HeatOfFusion(FieldQnty):
2363
3315
  """
@@ -2427,6 +3379,34 @@ class HeatOfFusion(FieldQnty):
2427
3379
  else:
2428
3380
  return field_setter.HeatOfFusionSetter(self, value)
2429
3381
 
3382
+ @property
3383
+ def value(self) -> float | None:
3384
+ """
3385
+ Get the numeric value of this heat of fusion.
3386
+
3387
+ Returns:
3388
+ The numeric value if known, None if unknown
3389
+
3390
+ Example:
3391
+ >>> length = Length(100, "mm", "beam_length")
3392
+ >>> length.value # Returns 100.0
3393
+ """
3394
+ return self.quantity.value if self.quantity is not None else None
3395
+
3396
+ @property
3397
+ def unit(self) -> str | None:
3398
+ """
3399
+ Get the unit symbol of this heat of fusion.
3400
+
3401
+ Returns:
3402
+ The unit symbol if known, None if unknown
3403
+
3404
+ Example:
3405
+ >>> length = Length(100, "mm", "beam_length")
3406
+ >>> length.unit # Returns "mm"
3407
+ """
3408
+ return self.quantity.unit.symbol if self.quantity is not None else None
3409
+
2430
3410
 
2431
3411
  class HeatOfVaporization(FieldQnty):
2432
3412
  """
@@ -2496,6 +3476,34 @@ class HeatOfVaporization(FieldQnty):
2496
3476
  else:
2497
3477
  return field_setter.HeatOfVaporizationSetter(self, value)
2498
3478
 
3479
+ @property
3480
+ def value(self) -> float | None:
3481
+ """
3482
+ Get the numeric value of this heat of vaporization.
3483
+
3484
+ Returns:
3485
+ The numeric value if known, None if unknown
3486
+
3487
+ Example:
3488
+ >>> length = Length(100, "mm", "beam_length")
3489
+ >>> length.value # Returns 100.0
3490
+ """
3491
+ return self.quantity.value if self.quantity is not None else None
3492
+
3493
+ @property
3494
+ def unit(self) -> str | None:
3495
+ """
3496
+ Get the unit symbol of this heat of vaporization.
3497
+
3498
+ Returns:
3499
+ The unit symbol if known, None if unknown
3500
+
3501
+ Example:
3502
+ >>> length = Length(100, "mm", "beam_length")
3503
+ >>> length.unit # Returns "mm"
3504
+ """
3505
+ return self.quantity.unit.symbol if self.quantity is not None else None
3506
+
2499
3507
 
2500
3508
  class HeatTransferCoefficient(FieldQnty):
2501
3509
  """
@@ -2565,6 +3573,34 @@ class HeatTransferCoefficient(FieldQnty):
2565
3573
  else:
2566
3574
  return field_setter.HeatTransferCoefficientSetter(self, value)
2567
3575
 
3576
+ @property
3577
+ def value(self) -> float | None:
3578
+ """
3579
+ Get the numeric value of this heat transfer coefficient.
3580
+
3581
+ Returns:
3582
+ The numeric value if known, None if unknown
3583
+
3584
+ Example:
3585
+ >>> length = Length(100, "mm", "beam_length")
3586
+ >>> length.value # Returns 100.0
3587
+ """
3588
+ return self.quantity.value if self.quantity is not None else None
3589
+
3590
+ @property
3591
+ def unit(self) -> str | None:
3592
+ """
3593
+ Get the unit symbol of this heat transfer coefficient.
3594
+
3595
+ Returns:
3596
+ The unit symbol if known, None if unknown
3597
+
3598
+ Example:
3599
+ >>> length = Length(100, "mm", "beam_length")
3600
+ >>> length.unit # Returns "mm"
3601
+ """
3602
+ return self.quantity.unit.symbol if self.quantity is not None else None
3603
+
2568
3604
 
2569
3605
  class Illuminance(FieldQnty):
2570
3606
  """
@@ -2634,6 +3670,34 @@ class Illuminance(FieldQnty):
2634
3670
  else:
2635
3671
  return field_setter.IlluminanceSetter(self, value)
2636
3672
 
3673
+ @property
3674
+ def value(self) -> float | None:
3675
+ """
3676
+ Get the numeric value of this illuminance.
3677
+
3678
+ Returns:
3679
+ The numeric value if known, None if unknown
3680
+
3681
+ Example:
3682
+ >>> length = Length(100, "mm", "beam_length")
3683
+ >>> length.value # Returns 100.0
3684
+ """
3685
+ return self.quantity.value if self.quantity is not None else None
3686
+
3687
+ @property
3688
+ def unit(self) -> str | None:
3689
+ """
3690
+ Get the unit symbol of this illuminance.
3691
+
3692
+ Returns:
3693
+ The unit symbol if known, None if unknown
3694
+
3695
+ Example:
3696
+ >>> length = Length(100, "mm", "beam_length")
3697
+ >>> length.unit # Returns "mm"
3698
+ """
3699
+ return self.quantity.unit.symbol if self.quantity is not None else None
3700
+
2637
3701
 
2638
3702
  class KineticEnergyOfTurbulence(FieldQnty):
2639
3703
  """
@@ -2703,6 +3767,34 @@ class KineticEnergyOfTurbulence(FieldQnty):
2703
3767
  else:
2704
3768
  return field_setter.KineticEnergyOfTurbulenceSetter(self, value)
2705
3769
 
3770
+ @property
3771
+ def value(self) -> float | None:
3772
+ """
3773
+ Get the numeric value of this kinetic energy of turbulence.
3774
+
3775
+ Returns:
3776
+ The numeric value if known, None if unknown
3777
+
3778
+ Example:
3779
+ >>> length = Length(100, "mm", "beam_length")
3780
+ >>> length.value # Returns 100.0
3781
+ """
3782
+ return self.quantity.value if self.quantity is not None else None
3783
+
3784
+ @property
3785
+ def unit(self) -> str | None:
3786
+ """
3787
+ Get the unit symbol of this kinetic energy of turbulence.
3788
+
3789
+ Returns:
3790
+ The unit symbol if known, None if unknown
3791
+
3792
+ Example:
3793
+ >>> length = Length(100, "mm", "beam_length")
3794
+ >>> length.unit # Returns "mm"
3795
+ """
3796
+ return self.quantity.unit.symbol if self.quantity is not None else None
3797
+
2706
3798
 
2707
3799
  class Length(FieldQnty):
2708
3800
  """
@@ -2772,6 +3864,34 @@ class Length(FieldQnty):
2772
3864
  else:
2773
3865
  return field_setter.LengthSetter(self, value)
2774
3866
 
3867
+ @property
3868
+ def value(self) -> float | None:
3869
+ """
3870
+ Get the numeric value of this length.
3871
+
3872
+ Returns:
3873
+ The numeric value if known, None if unknown
3874
+
3875
+ Example:
3876
+ >>> length = Length(100, "mm", "beam_length")
3877
+ >>> length.value # Returns 100.0
3878
+ """
3879
+ return self.quantity.value if self.quantity is not None else None
3880
+
3881
+ @property
3882
+ def unit(self) -> str | None:
3883
+ """
3884
+ Get the unit symbol of this length.
3885
+
3886
+ Returns:
3887
+ The unit symbol if known, None if unknown
3888
+
3889
+ Example:
3890
+ >>> length = Length(100, "mm", "beam_length")
3891
+ >>> length.unit # Returns "mm"
3892
+ """
3893
+ return self.quantity.unit.symbol if self.quantity is not None else None
3894
+
2775
3895
 
2776
3896
  class LinearMassDensity(FieldQnty):
2777
3897
  """
@@ -2841,6 +3961,34 @@ class LinearMassDensity(FieldQnty):
2841
3961
  else:
2842
3962
  return field_setter.LinearMassDensitySetter(self, value)
2843
3963
 
3964
+ @property
3965
+ def value(self) -> float | None:
3966
+ """
3967
+ Get the numeric value of this linear mass density.
3968
+
3969
+ Returns:
3970
+ The numeric value if known, None if unknown
3971
+
3972
+ Example:
3973
+ >>> length = Length(100, "mm", "beam_length")
3974
+ >>> length.value # Returns 100.0
3975
+ """
3976
+ return self.quantity.value if self.quantity is not None else None
3977
+
3978
+ @property
3979
+ def unit(self) -> str | None:
3980
+ """
3981
+ Get the unit symbol of this linear mass density.
3982
+
3983
+ Returns:
3984
+ The unit symbol if known, None if unknown
3985
+
3986
+ Example:
3987
+ >>> length = Length(100, "mm", "beam_length")
3988
+ >>> length.unit # Returns "mm"
3989
+ """
3990
+ return self.quantity.unit.symbol if self.quantity is not None else None
3991
+
2844
3992
 
2845
3993
  class LinearMomentum(FieldQnty):
2846
3994
  """
@@ -2910,6 +4058,34 @@ class LinearMomentum(FieldQnty):
2910
4058
  else:
2911
4059
  return field_setter.LinearMomentumSetter(self, value)
2912
4060
 
4061
+ @property
4062
+ def value(self) -> float | None:
4063
+ """
4064
+ Get the numeric value of this linear momentum.
4065
+
4066
+ Returns:
4067
+ The numeric value if known, None if unknown
4068
+
4069
+ Example:
4070
+ >>> length = Length(100, "mm", "beam_length")
4071
+ >>> length.value # Returns 100.0
4072
+ """
4073
+ return self.quantity.value if self.quantity is not None else None
4074
+
4075
+ @property
4076
+ def unit(self) -> str | None:
4077
+ """
4078
+ Get the unit symbol of this linear momentum.
4079
+
4080
+ Returns:
4081
+ The unit symbol if known, None if unknown
4082
+
4083
+ Example:
4084
+ >>> length = Length(100, "mm", "beam_length")
4085
+ >>> length.unit # Returns "mm"
4086
+ """
4087
+ return self.quantity.unit.symbol if self.quantity is not None else None
4088
+
2913
4089
 
2914
4090
  class LuminanceSelf(FieldQnty):
2915
4091
  """
@@ -2979,6 +4155,34 @@ class LuminanceSelf(FieldQnty):
2979
4155
  else:
2980
4156
  return field_setter.LuminanceSelfSetter(self, value)
2981
4157
 
4158
+ @property
4159
+ def value(self) -> float | None:
4160
+ """
4161
+ Get the numeric value of this luminance (self).
4162
+
4163
+ Returns:
4164
+ The numeric value if known, None if unknown
4165
+
4166
+ Example:
4167
+ >>> length = Length(100, "mm", "beam_length")
4168
+ >>> length.value # Returns 100.0
4169
+ """
4170
+ return self.quantity.value if self.quantity is not None else None
4171
+
4172
+ @property
4173
+ def unit(self) -> str | None:
4174
+ """
4175
+ Get the unit symbol of this luminance (self).
4176
+
4177
+ Returns:
4178
+ The unit symbol if known, None if unknown
4179
+
4180
+ Example:
4181
+ >>> length = Length(100, "mm", "beam_length")
4182
+ >>> length.unit # Returns "mm"
4183
+ """
4184
+ return self.quantity.unit.symbol if self.quantity is not None else None
4185
+
2982
4186
 
2983
4187
  class LuminousFlux(FieldQnty):
2984
4188
  """
@@ -3048,6 +4252,34 @@ class LuminousFlux(FieldQnty):
3048
4252
  else:
3049
4253
  return field_setter.LuminousFluxSetter(self, value)
3050
4254
 
4255
+ @property
4256
+ def value(self) -> float | None:
4257
+ """
4258
+ Get the numeric value of this luminous flux.
4259
+
4260
+ Returns:
4261
+ The numeric value if known, None if unknown
4262
+
4263
+ Example:
4264
+ >>> length = Length(100, "mm", "beam_length")
4265
+ >>> length.value # Returns 100.0
4266
+ """
4267
+ return self.quantity.value if self.quantity is not None else None
4268
+
4269
+ @property
4270
+ def unit(self) -> str | None:
4271
+ """
4272
+ Get the unit symbol of this luminous flux.
4273
+
4274
+ Returns:
4275
+ The unit symbol if known, None if unknown
4276
+
4277
+ Example:
4278
+ >>> length = Length(100, "mm", "beam_length")
4279
+ >>> length.unit # Returns "mm"
4280
+ """
4281
+ return self.quantity.unit.symbol if self.quantity is not None else None
4282
+
3051
4283
 
3052
4284
  class LuminousIntensity(FieldQnty):
3053
4285
  """
@@ -3117,6 +4349,34 @@ class LuminousIntensity(FieldQnty):
3117
4349
  else:
3118
4350
  return field_setter.LuminousIntensitySetter(self, value)
3119
4351
 
4352
+ @property
4353
+ def value(self) -> float | None:
4354
+ """
4355
+ Get the numeric value of this luminous intensity.
4356
+
4357
+ Returns:
4358
+ The numeric value if known, None if unknown
4359
+
4360
+ Example:
4361
+ >>> length = Length(100, "mm", "beam_length")
4362
+ >>> length.value # Returns 100.0
4363
+ """
4364
+ return self.quantity.value if self.quantity is not None else None
4365
+
4366
+ @property
4367
+ def unit(self) -> str | None:
4368
+ """
4369
+ Get the unit symbol of this luminous intensity.
4370
+
4371
+ Returns:
4372
+ The unit symbol if known, None if unknown
4373
+
4374
+ Example:
4375
+ >>> length = Length(100, "mm", "beam_length")
4376
+ >>> length.unit # Returns "mm"
4377
+ """
4378
+ return self.quantity.unit.symbol if self.quantity is not None else None
4379
+
3120
4380
 
3121
4381
  class MagneticField(FieldQnty):
3122
4382
  """
@@ -3186,6 +4446,34 @@ class MagneticField(FieldQnty):
3186
4446
  else:
3187
4447
  return field_setter.MagneticFieldSetter(self, value)
3188
4448
 
4449
+ @property
4450
+ def value(self) -> float | None:
4451
+ """
4452
+ Get the numeric value of this magnetic field.
4453
+
4454
+ Returns:
4455
+ The numeric value if known, None if unknown
4456
+
4457
+ Example:
4458
+ >>> length = Length(100, "mm", "beam_length")
4459
+ >>> length.value # Returns 100.0
4460
+ """
4461
+ return self.quantity.value if self.quantity is not None else None
4462
+
4463
+ @property
4464
+ def unit(self) -> str | None:
4465
+ """
4466
+ Get the unit symbol of this magnetic field.
4467
+
4468
+ Returns:
4469
+ The unit symbol if known, None if unknown
4470
+
4471
+ Example:
4472
+ >>> length = Length(100, "mm", "beam_length")
4473
+ >>> length.unit # Returns "mm"
4474
+ """
4475
+ return self.quantity.unit.symbol if self.quantity is not None else None
4476
+
3189
4477
 
3190
4478
  class MagneticFlux(FieldQnty):
3191
4479
  """
@@ -3255,6 +4543,34 @@ class MagneticFlux(FieldQnty):
3255
4543
  else:
3256
4544
  return field_setter.MagneticFluxSetter(self, value)
3257
4545
 
4546
+ @property
4547
+ def value(self) -> float | None:
4548
+ """
4549
+ Get the numeric value of this magnetic flux.
4550
+
4551
+ Returns:
4552
+ The numeric value if known, None if unknown
4553
+
4554
+ Example:
4555
+ >>> length = Length(100, "mm", "beam_length")
4556
+ >>> length.value # Returns 100.0
4557
+ """
4558
+ return self.quantity.value if self.quantity is not None else None
4559
+
4560
+ @property
4561
+ def unit(self) -> str | None:
4562
+ """
4563
+ Get the unit symbol of this magnetic flux.
4564
+
4565
+ Returns:
4566
+ The unit symbol if known, None if unknown
4567
+
4568
+ Example:
4569
+ >>> length = Length(100, "mm", "beam_length")
4570
+ >>> length.unit # Returns "mm"
4571
+ """
4572
+ return self.quantity.unit.symbol if self.quantity is not None else None
4573
+
3258
4574
 
3259
4575
  class MagneticInductionFieldStrength(FieldQnty):
3260
4576
  """
@@ -3324,6 +4640,34 @@ class MagneticInductionFieldStrength(FieldQnty):
3324
4640
  else:
3325
4641
  return field_setter.MagneticInductionFieldStrengthSetter(self, value)
3326
4642
 
4643
+ @property
4644
+ def value(self) -> float | None:
4645
+ """
4646
+ Get the numeric value of this magnetic induction field strength.
4647
+
4648
+ Returns:
4649
+ The numeric value if known, None if unknown
4650
+
4651
+ Example:
4652
+ >>> length = Length(100, "mm", "beam_length")
4653
+ >>> length.value # Returns 100.0
4654
+ """
4655
+ return self.quantity.value if self.quantity is not None else None
4656
+
4657
+ @property
4658
+ def unit(self) -> str | None:
4659
+ """
4660
+ Get the unit symbol of this magnetic induction field strength.
4661
+
4662
+ Returns:
4663
+ The unit symbol if known, None if unknown
4664
+
4665
+ Example:
4666
+ >>> length = Length(100, "mm", "beam_length")
4667
+ >>> length.unit # Returns "mm"
4668
+ """
4669
+ return self.quantity.unit.symbol if self.quantity is not None else None
4670
+
3327
4671
 
3328
4672
  class MagneticMoment(FieldQnty):
3329
4673
  """
@@ -3393,6 +4737,34 @@ class MagneticMoment(FieldQnty):
3393
4737
  else:
3394
4738
  return field_setter.MagneticMomentSetter(self, value)
3395
4739
 
4740
+ @property
4741
+ def value(self) -> float | None:
4742
+ """
4743
+ Get the numeric value of this magnetic moment.
4744
+
4745
+ Returns:
4746
+ The numeric value if known, None if unknown
4747
+
4748
+ Example:
4749
+ >>> length = Length(100, "mm", "beam_length")
4750
+ >>> length.value # Returns 100.0
4751
+ """
4752
+ return self.quantity.value if self.quantity is not None else None
4753
+
4754
+ @property
4755
+ def unit(self) -> str | None:
4756
+ """
4757
+ Get the unit symbol of this magnetic moment.
4758
+
4759
+ Returns:
4760
+ The unit symbol if known, None if unknown
4761
+
4762
+ Example:
4763
+ >>> length = Length(100, "mm", "beam_length")
4764
+ >>> length.unit # Returns "mm"
4765
+ """
4766
+ return self.quantity.unit.symbol if self.quantity is not None else None
4767
+
3396
4768
 
3397
4769
  class MagneticPermeability(FieldQnty):
3398
4770
  """
@@ -3462,6 +4834,34 @@ class MagneticPermeability(FieldQnty):
3462
4834
  else:
3463
4835
  return field_setter.MagneticPermeabilitySetter(self, value)
3464
4836
 
4837
+ @property
4838
+ def value(self) -> float | None:
4839
+ """
4840
+ Get the numeric value of this magnetic permeability.
4841
+
4842
+ Returns:
4843
+ The numeric value if known, None if unknown
4844
+
4845
+ Example:
4846
+ >>> length = Length(100, "mm", "beam_length")
4847
+ >>> length.value # Returns 100.0
4848
+ """
4849
+ return self.quantity.value if self.quantity is not None else None
4850
+
4851
+ @property
4852
+ def unit(self) -> str | None:
4853
+ """
4854
+ Get the unit symbol of this magnetic permeability.
4855
+
4856
+ Returns:
4857
+ The unit symbol if known, None if unknown
4858
+
4859
+ Example:
4860
+ >>> length = Length(100, "mm", "beam_length")
4861
+ >>> length.unit # Returns "mm"
4862
+ """
4863
+ return self.quantity.unit.symbol if self.quantity is not None else None
4864
+
3465
4865
 
3466
4866
  class MagnetomotiveForce(FieldQnty):
3467
4867
  """
@@ -3531,6 +4931,34 @@ class MagnetomotiveForce(FieldQnty):
3531
4931
  else:
3532
4932
  return field_setter.MagnetomotiveForceSetter(self, value)
3533
4933
 
4934
+ @property
4935
+ def value(self) -> float | None:
4936
+ """
4937
+ Get the numeric value of this magnetomotive force.
4938
+
4939
+ Returns:
4940
+ The numeric value if known, None if unknown
4941
+
4942
+ Example:
4943
+ >>> length = Length(100, "mm", "beam_length")
4944
+ >>> length.value # Returns 100.0
4945
+ """
4946
+ return self.quantity.value if self.quantity is not None else None
4947
+
4948
+ @property
4949
+ def unit(self) -> str | None:
4950
+ """
4951
+ Get the unit symbol of this magnetomotive force.
4952
+
4953
+ Returns:
4954
+ The unit symbol if known, None if unknown
4955
+
4956
+ Example:
4957
+ >>> length = Length(100, "mm", "beam_length")
4958
+ >>> length.unit # Returns "mm"
4959
+ """
4960
+ return self.quantity.unit.symbol if self.quantity is not None else None
4961
+
3534
4962
 
3535
4963
  class Mass(FieldQnty):
3536
4964
  """
@@ -3600,6 +5028,34 @@ class Mass(FieldQnty):
3600
5028
  else:
3601
5029
  return field_setter.MassSetter(self, value)
3602
5030
 
5031
+ @property
5032
+ def value(self) -> float | None:
5033
+ """
5034
+ Get the numeric value of this mass.
5035
+
5036
+ Returns:
5037
+ The numeric value if known, None if unknown
5038
+
5039
+ Example:
5040
+ >>> length = Length(100, "mm", "beam_length")
5041
+ >>> length.value # Returns 100.0
5042
+ """
5043
+ return self.quantity.value if self.quantity is not None else None
5044
+
5045
+ @property
5046
+ def unit(self) -> str | None:
5047
+ """
5048
+ Get the unit symbol of this mass.
5049
+
5050
+ Returns:
5051
+ The unit symbol if known, None if unknown
5052
+
5053
+ Example:
5054
+ >>> length = Length(100, "mm", "beam_length")
5055
+ >>> length.unit # Returns "mm"
5056
+ """
5057
+ return self.quantity.unit.symbol if self.quantity is not None else None
5058
+
3603
5059
 
3604
5060
  class MassDensity(FieldQnty):
3605
5061
  """
@@ -3657,17 +5113,45 @@ class MassDensity(FieldQnty):
3657
5113
  >>> length = Length("beam_length")
3658
5114
  >>> length.set(100).millimeters # Sets to 100 mm
3659
5115
  """
3660
- if unit is not None:
3661
- # Direct setting with unit
3662
- setter = field_setter.MassDensitySetter(self, value)
3663
- # Get the unit property and call it to set the value
3664
- if hasattr(setter, unit):
3665
- getattr(setter, unit)
3666
- else:
3667
- raise ValueError(f"Unknown unit: {unit}")
3668
- return self
3669
- else:
3670
- return field_setter.MassDensitySetter(self, value)
5116
+ if unit is not None:
5117
+ # Direct setting with unit
5118
+ setter = field_setter.MassDensitySetter(self, value)
5119
+ # Get the unit property and call it to set the value
5120
+ if hasattr(setter, unit):
5121
+ getattr(setter, unit)
5122
+ else:
5123
+ raise ValueError(f"Unknown unit: {unit}")
5124
+ return self
5125
+ else:
5126
+ return field_setter.MassDensitySetter(self, value)
5127
+
5128
+ @property
5129
+ def value(self) -> float | None:
5130
+ """
5131
+ Get the numeric value of this mass density.
5132
+
5133
+ Returns:
5134
+ The numeric value if known, None if unknown
5135
+
5136
+ Example:
5137
+ >>> length = Length(100, "mm", "beam_length")
5138
+ >>> length.value # Returns 100.0
5139
+ """
5140
+ return self.quantity.value if self.quantity is not None else None
5141
+
5142
+ @property
5143
+ def unit(self) -> str | None:
5144
+ """
5145
+ Get the unit symbol of this mass density.
5146
+
5147
+ Returns:
5148
+ The unit symbol if known, None if unknown
5149
+
5150
+ Example:
5151
+ >>> length = Length(100, "mm", "beam_length")
5152
+ >>> length.unit # Returns "mm"
5153
+ """
5154
+ return self.quantity.unit.symbol if self.quantity is not None else None
3671
5155
 
3672
5156
 
3673
5157
  class MassFlowRate(FieldQnty):
@@ -3738,6 +5222,34 @@ class MassFlowRate(FieldQnty):
3738
5222
  else:
3739
5223
  return field_setter.MassFlowRateSetter(self, value)
3740
5224
 
5225
+ @property
5226
+ def value(self) -> float | None:
5227
+ """
5228
+ Get the numeric value of this mass flow rate.
5229
+
5230
+ Returns:
5231
+ The numeric value if known, None if unknown
5232
+
5233
+ Example:
5234
+ >>> length = Length(100, "mm", "beam_length")
5235
+ >>> length.value # Returns 100.0
5236
+ """
5237
+ return self.quantity.value if self.quantity is not None else None
5238
+
5239
+ @property
5240
+ def unit(self) -> str | None:
5241
+ """
5242
+ Get the unit symbol of this mass flow rate.
5243
+
5244
+ Returns:
5245
+ The unit symbol if known, None if unknown
5246
+
5247
+ Example:
5248
+ >>> length = Length(100, "mm", "beam_length")
5249
+ >>> length.unit # Returns "mm"
5250
+ """
5251
+ return self.quantity.unit.symbol if self.quantity is not None else None
5252
+
3741
5253
 
3742
5254
  class MassFlux(FieldQnty):
3743
5255
  """
@@ -3807,6 +5319,34 @@ class MassFlux(FieldQnty):
3807
5319
  else:
3808
5320
  return field_setter.MassFluxSetter(self, value)
3809
5321
 
5322
+ @property
5323
+ def value(self) -> float | None:
5324
+ """
5325
+ Get the numeric value of this mass flux.
5326
+
5327
+ Returns:
5328
+ The numeric value if known, None if unknown
5329
+
5330
+ Example:
5331
+ >>> length = Length(100, "mm", "beam_length")
5332
+ >>> length.value # Returns 100.0
5333
+ """
5334
+ return self.quantity.value if self.quantity is not None else None
5335
+
5336
+ @property
5337
+ def unit(self) -> str | None:
5338
+ """
5339
+ Get the unit symbol of this mass flux.
5340
+
5341
+ Returns:
5342
+ The unit symbol if known, None if unknown
5343
+
5344
+ Example:
5345
+ >>> length = Length(100, "mm", "beam_length")
5346
+ >>> length.unit # Returns "mm"
5347
+ """
5348
+ return self.quantity.unit.symbol if self.quantity is not None else None
5349
+
3810
5350
 
3811
5351
  class MassFractionOfI(FieldQnty):
3812
5352
  """
@@ -3876,6 +5416,34 @@ class MassFractionOfI(FieldQnty):
3876
5416
  else:
3877
5417
  return field_setter.MassFractionOfISetter(self, value)
3878
5418
 
5419
+ @property
5420
+ def value(self) -> float | None:
5421
+ """
5422
+ Get the numeric value of this mass fraction of "i".
5423
+
5424
+ Returns:
5425
+ The numeric value if known, None if unknown
5426
+
5427
+ Example:
5428
+ >>> length = Length(100, "mm", "beam_length")
5429
+ >>> length.value # Returns 100.0
5430
+ """
5431
+ return self.quantity.value if self.quantity is not None else None
5432
+
5433
+ @property
5434
+ def unit(self) -> str | None:
5435
+ """
5436
+ Get the unit symbol of this mass fraction of "i".
5437
+
5438
+ Returns:
5439
+ The unit symbol if known, None if unknown
5440
+
5441
+ Example:
5442
+ >>> length = Length(100, "mm", "beam_length")
5443
+ >>> length.unit # Returns "mm"
5444
+ """
5445
+ return self.quantity.unit.symbol if self.quantity is not None else None
5446
+
3879
5447
 
3880
5448
  class MassTransferCoefficient(FieldQnty):
3881
5449
  """
@@ -3945,6 +5513,34 @@ class MassTransferCoefficient(FieldQnty):
3945
5513
  else:
3946
5514
  return field_setter.MassTransferCoefficientSetter(self, value)
3947
5515
 
5516
+ @property
5517
+ def value(self) -> float | None:
5518
+ """
5519
+ Get the numeric value of this mass transfer coefficient.
5520
+
5521
+ Returns:
5522
+ The numeric value if known, None if unknown
5523
+
5524
+ Example:
5525
+ >>> length = Length(100, "mm", "beam_length")
5526
+ >>> length.value # Returns 100.0
5527
+ """
5528
+ return self.quantity.value if self.quantity is not None else None
5529
+
5530
+ @property
5531
+ def unit(self) -> str | None:
5532
+ """
5533
+ Get the unit symbol of this mass transfer coefficient.
5534
+
5535
+ Returns:
5536
+ The unit symbol if known, None if unknown
5537
+
5538
+ Example:
5539
+ >>> length = Length(100, "mm", "beam_length")
5540
+ >>> length.unit # Returns "mm"
5541
+ """
5542
+ return self.quantity.unit.symbol if self.quantity is not None else None
5543
+
3948
5544
 
3949
5545
  class MolalityOfSoluteI(FieldQnty):
3950
5546
  """
@@ -4014,6 +5610,34 @@ class MolalityOfSoluteI(FieldQnty):
4014
5610
  else:
4015
5611
  return field_setter.MolalityOfSoluteISetter(self, value)
4016
5612
 
5613
+ @property
5614
+ def value(self) -> float | None:
5615
+ """
5616
+ Get the numeric value of this molality of solute "i".
5617
+
5618
+ Returns:
5619
+ The numeric value if known, None if unknown
5620
+
5621
+ Example:
5622
+ >>> length = Length(100, "mm", "beam_length")
5623
+ >>> length.value # Returns 100.0
5624
+ """
5625
+ return self.quantity.value if self.quantity is not None else None
5626
+
5627
+ @property
5628
+ def unit(self) -> str | None:
5629
+ """
5630
+ Get the unit symbol of this molality of solute "i".
5631
+
5632
+ Returns:
5633
+ The unit symbol if known, None if unknown
5634
+
5635
+ Example:
5636
+ >>> length = Length(100, "mm", "beam_length")
5637
+ >>> length.unit # Returns "mm"
5638
+ """
5639
+ return self.quantity.unit.symbol if self.quantity is not None else None
5640
+
4017
5641
 
4018
5642
  class MolarConcentrationByMass(FieldQnty):
4019
5643
  """
@@ -4083,6 +5707,34 @@ class MolarConcentrationByMass(FieldQnty):
4083
5707
  else:
4084
5708
  return field_setter.MolarConcentrationByMassSetter(self, value)
4085
5709
 
5710
+ @property
5711
+ def value(self) -> float | None:
5712
+ """
5713
+ Get the numeric value of this molar concentration by mass.
5714
+
5715
+ Returns:
5716
+ The numeric value if known, None if unknown
5717
+
5718
+ Example:
5719
+ >>> length = Length(100, "mm", "beam_length")
5720
+ >>> length.value # Returns 100.0
5721
+ """
5722
+ return self.quantity.value if self.quantity is not None else None
5723
+
5724
+ @property
5725
+ def unit(self) -> str | None:
5726
+ """
5727
+ Get the unit symbol of this molar concentration by mass.
5728
+
5729
+ Returns:
5730
+ The unit symbol if known, None if unknown
5731
+
5732
+ Example:
5733
+ >>> length = Length(100, "mm", "beam_length")
5734
+ >>> length.unit # Returns "mm"
5735
+ """
5736
+ return self.quantity.unit.symbol if self.quantity is not None else None
5737
+
4086
5738
 
4087
5739
  class MolarFlowRate(FieldQnty):
4088
5740
  """
@@ -4152,6 +5804,34 @@ class MolarFlowRate(FieldQnty):
4152
5804
  else:
4153
5805
  return field_setter.MolarFlowRateSetter(self, value)
4154
5806
 
5807
+ @property
5808
+ def value(self) -> float | None:
5809
+ """
5810
+ Get the numeric value of this molar flow rate.
5811
+
5812
+ Returns:
5813
+ The numeric value if known, None if unknown
5814
+
5815
+ Example:
5816
+ >>> length = Length(100, "mm", "beam_length")
5817
+ >>> length.value # Returns 100.0
5818
+ """
5819
+ return self.quantity.value if self.quantity is not None else None
5820
+
5821
+ @property
5822
+ def unit(self) -> str | None:
5823
+ """
5824
+ Get the unit symbol of this molar flow rate.
5825
+
5826
+ Returns:
5827
+ The unit symbol if known, None if unknown
5828
+
5829
+ Example:
5830
+ >>> length = Length(100, "mm", "beam_length")
5831
+ >>> length.unit # Returns "mm"
5832
+ """
5833
+ return self.quantity.unit.symbol if self.quantity is not None else None
5834
+
4155
5835
 
4156
5836
  class MolarFlux(FieldQnty):
4157
5837
  """
@@ -4221,6 +5901,34 @@ class MolarFlux(FieldQnty):
4221
5901
  else:
4222
5902
  return field_setter.MolarFluxSetter(self, value)
4223
5903
 
5904
+ @property
5905
+ def value(self) -> float | None:
5906
+ """
5907
+ Get the numeric value of this molar flux.
5908
+
5909
+ Returns:
5910
+ The numeric value if known, None if unknown
5911
+
5912
+ Example:
5913
+ >>> length = Length(100, "mm", "beam_length")
5914
+ >>> length.value # Returns 100.0
5915
+ """
5916
+ return self.quantity.value if self.quantity is not None else None
5917
+
5918
+ @property
5919
+ def unit(self) -> str | None:
5920
+ """
5921
+ Get the unit symbol of this molar flux.
5922
+
5923
+ Returns:
5924
+ The unit symbol if known, None if unknown
5925
+
5926
+ Example:
5927
+ >>> length = Length(100, "mm", "beam_length")
5928
+ >>> length.unit # Returns "mm"
5929
+ """
5930
+ return self.quantity.unit.symbol if self.quantity is not None else None
5931
+
4224
5932
 
4225
5933
  class MolarHeatCapacity(FieldQnty):
4226
5934
  """
@@ -4290,6 +5998,34 @@ class MolarHeatCapacity(FieldQnty):
4290
5998
  else:
4291
5999
  return field_setter.MolarHeatCapacitySetter(self, value)
4292
6000
 
6001
+ @property
6002
+ def value(self) -> float | None:
6003
+ """
6004
+ Get the numeric value of this molar heat capacity.
6005
+
6006
+ Returns:
6007
+ The numeric value if known, None if unknown
6008
+
6009
+ Example:
6010
+ >>> length = Length(100, "mm", "beam_length")
6011
+ >>> length.value # Returns 100.0
6012
+ """
6013
+ return self.quantity.value if self.quantity is not None else None
6014
+
6015
+ @property
6016
+ def unit(self) -> str | None:
6017
+ """
6018
+ Get the unit symbol of this molar heat capacity.
6019
+
6020
+ Returns:
6021
+ The unit symbol if known, None if unknown
6022
+
6023
+ Example:
6024
+ >>> length = Length(100, "mm", "beam_length")
6025
+ >>> length.unit # Returns "mm"
6026
+ """
6027
+ return self.quantity.unit.symbol if self.quantity is not None else None
6028
+
4293
6029
 
4294
6030
  class MolarityOfI(FieldQnty):
4295
6031
  """
@@ -4359,6 +6095,34 @@ class MolarityOfI(FieldQnty):
4359
6095
  else:
4360
6096
  return field_setter.MolarityOfISetter(self, value)
4361
6097
 
6098
+ @property
6099
+ def value(self) -> float | None:
6100
+ """
6101
+ Get the numeric value of this molarity of "i".
6102
+
6103
+ Returns:
6104
+ The numeric value if known, None if unknown
6105
+
6106
+ Example:
6107
+ >>> length = Length(100, "mm", "beam_length")
6108
+ >>> length.value # Returns 100.0
6109
+ """
6110
+ return self.quantity.value if self.quantity is not None else None
6111
+
6112
+ @property
6113
+ def unit(self) -> str | None:
6114
+ """
6115
+ Get the unit symbol of this molarity of "i".
6116
+
6117
+ Returns:
6118
+ The unit symbol if known, None if unknown
6119
+
6120
+ Example:
6121
+ >>> length = Length(100, "mm", "beam_length")
6122
+ >>> length.unit # Returns "mm"
6123
+ """
6124
+ return self.quantity.unit.symbol if self.quantity is not None else None
6125
+
4362
6126
 
4363
6127
  class MoleFractionOfI(FieldQnty):
4364
6128
  """
@@ -4428,6 +6192,34 @@ class MoleFractionOfI(FieldQnty):
4428
6192
  else:
4429
6193
  return field_setter.MoleFractionOfISetter(self, value)
4430
6194
 
6195
+ @property
6196
+ def value(self) -> float | None:
6197
+ """
6198
+ Get the numeric value of this mole fraction of "i".
6199
+
6200
+ Returns:
6201
+ The numeric value if known, None if unknown
6202
+
6203
+ Example:
6204
+ >>> length = Length(100, "mm", "beam_length")
6205
+ >>> length.value # Returns 100.0
6206
+ """
6207
+ return self.quantity.value if self.quantity is not None else None
6208
+
6209
+ @property
6210
+ def unit(self) -> str | None:
6211
+ """
6212
+ Get the unit symbol of this mole fraction of "i".
6213
+
6214
+ Returns:
6215
+ The unit symbol if known, None if unknown
6216
+
6217
+ Example:
6218
+ >>> length = Length(100, "mm", "beam_length")
6219
+ >>> length.unit # Returns "mm"
6220
+ """
6221
+ return self.quantity.unit.symbol if self.quantity is not None else None
6222
+
4431
6223
 
4432
6224
  class MomentOfInertia(FieldQnty):
4433
6225
  """
@@ -4497,6 +6289,34 @@ class MomentOfInertia(FieldQnty):
4497
6289
  else:
4498
6290
  return field_setter.MomentOfInertiaSetter(self, value)
4499
6291
 
6292
+ @property
6293
+ def value(self) -> float | None:
6294
+ """
6295
+ Get the numeric value of this moment of inertia.
6296
+
6297
+ Returns:
6298
+ The numeric value if known, None if unknown
6299
+
6300
+ Example:
6301
+ >>> length = Length(100, "mm", "beam_length")
6302
+ >>> length.value # Returns 100.0
6303
+ """
6304
+ return self.quantity.value if self.quantity is not None else None
6305
+
6306
+ @property
6307
+ def unit(self) -> str | None:
6308
+ """
6309
+ Get the unit symbol of this moment of inertia.
6310
+
6311
+ Returns:
6312
+ The unit symbol if known, None if unknown
6313
+
6314
+ Example:
6315
+ >>> length = Length(100, "mm", "beam_length")
6316
+ >>> length.unit # Returns "mm"
6317
+ """
6318
+ return self.quantity.unit.symbol if self.quantity is not None else None
6319
+
4500
6320
 
4501
6321
  class MomentumFlowRate(FieldQnty):
4502
6322
  """
@@ -4566,6 +6386,34 @@ class MomentumFlowRate(FieldQnty):
4566
6386
  else:
4567
6387
  return field_setter.MomentumFlowRateSetter(self, value)
4568
6388
 
6389
+ @property
6390
+ def value(self) -> float | None:
6391
+ """
6392
+ Get the numeric value of this momentum flow rate.
6393
+
6394
+ Returns:
6395
+ The numeric value if known, None if unknown
6396
+
6397
+ Example:
6398
+ >>> length = Length(100, "mm", "beam_length")
6399
+ >>> length.value # Returns 100.0
6400
+ """
6401
+ return self.quantity.value if self.quantity is not None else None
6402
+
6403
+ @property
6404
+ def unit(self) -> str | None:
6405
+ """
6406
+ Get the unit symbol of this momentum flow rate.
6407
+
6408
+ Returns:
6409
+ The unit symbol if known, None if unknown
6410
+
6411
+ Example:
6412
+ >>> length = Length(100, "mm", "beam_length")
6413
+ >>> length.unit # Returns "mm"
6414
+ """
6415
+ return self.quantity.unit.symbol if self.quantity is not None else None
6416
+
4569
6417
 
4570
6418
  class MomentumFlux(FieldQnty):
4571
6419
  """
@@ -4635,6 +6483,34 @@ class MomentumFlux(FieldQnty):
4635
6483
  else:
4636
6484
  return field_setter.MomentumFluxSetter(self, value)
4637
6485
 
6486
+ @property
6487
+ def value(self) -> float | None:
6488
+ """
6489
+ Get the numeric value of this momentum flux.
6490
+
6491
+ Returns:
6492
+ The numeric value if known, None if unknown
6493
+
6494
+ Example:
6495
+ >>> length = Length(100, "mm", "beam_length")
6496
+ >>> length.value # Returns 100.0
6497
+ """
6498
+ return self.quantity.value if self.quantity is not None else None
6499
+
6500
+ @property
6501
+ def unit(self) -> str | None:
6502
+ """
6503
+ Get the unit symbol of this momentum flux.
6504
+
6505
+ Returns:
6506
+ The unit symbol if known, None if unknown
6507
+
6508
+ Example:
6509
+ >>> length = Length(100, "mm", "beam_length")
6510
+ >>> length.unit # Returns "mm"
6511
+ """
6512
+ return self.quantity.unit.symbol if self.quantity is not None else None
6513
+
4638
6514
 
4639
6515
  class NormalityOfSolution(FieldQnty):
4640
6516
  """
@@ -4704,6 +6580,34 @@ class NormalityOfSolution(FieldQnty):
4704
6580
  else:
4705
6581
  return field_setter.NormalityOfSolutionSetter(self, value)
4706
6582
 
6583
+ @property
6584
+ def value(self) -> float | None:
6585
+ """
6586
+ Get the numeric value of this normality of solution.
6587
+
6588
+ Returns:
6589
+ The numeric value if known, None if unknown
6590
+
6591
+ Example:
6592
+ >>> length = Length(100, "mm", "beam_length")
6593
+ >>> length.value # Returns 100.0
6594
+ """
6595
+ return self.quantity.value if self.quantity is not None else None
6596
+
6597
+ @property
6598
+ def unit(self) -> str | None:
6599
+ """
6600
+ Get the unit symbol of this normality of solution.
6601
+
6602
+ Returns:
6603
+ The unit symbol if known, None if unknown
6604
+
6605
+ Example:
6606
+ >>> length = Length(100, "mm", "beam_length")
6607
+ >>> length.unit # Returns "mm"
6608
+ """
6609
+ return self.quantity.unit.symbol if self.quantity is not None else None
6610
+
4707
6611
 
4708
6612
  class ParticleDensity(FieldQnty):
4709
6613
  """
@@ -4773,6 +6677,34 @@ class ParticleDensity(FieldQnty):
4773
6677
  else:
4774
6678
  return field_setter.ParticleDensitySetter(self, value)
4775
6679
 
6680
+ @property
6681
+ def value(self) -> float | None:
6682
+ """
6683
+ Get the numeric value of this particle density.
6684
+
6685
+ Returns:
6686
+ The numeric value if known, None if unknown
6687
+
6688
+ Example:
6689
+ >>> length = Length(100, "mm", "beam_length")
6690
+ >>> length.value # Returns 100.0
6691
+ """
6692
+ return self.quantity.value if self.quantity is not None else None
6693
+
6694
+ @property
6695
+ def unit(self) -> str | None:
6696
+ """
6697
+ Get the unit symbol of this particle density.
6698
+
6699
+ Returns:
6700
+ The unit symbol if known, None if unknown
6701
+
6702
+ Example:
6703
+ >>> length = Length(100, "mm", "beam_length")
6704
+ >>> length.unit # Returns "mm"
6705
+ """
6706
+ return self.quantity.unit.symbol if self.quantity is not None else None
6707
+
4776
6708
 
4777
6709
  class Percent(FieldQnty):
4778
6710
  """
@@ -4842,6 +6774,34 @@ class Percent(FieldQnty):
4842
6774
  else:
4843
6775
  return field_setter.PercentSetter(self, value)
4844
6776
 
6777
+ @property
6778
+ def value(self) -> float | None:
6779
+ """
6780
+ Get the numeric value of this percent.
6781
+
6782
+ Returns:
6783
+ The numeric value if known, None if unknown
6784
+
6785
+ Example:
6786
+ >>> length = Length(100, "mm", "beam_length")
6787
+ >>> length.value # Returns 100.0
6788
+ """
6789
+ return self.quantity.value if self.quantity is not None else None
6790
+
6791
+ @property
6792
+ def unit(self) -> str | None:
6793
+ """
6794
+ Get the unit symbol of this percent.
6795
+
6796
+ Returns:
6797
+ The unit symbol if known, None if unknown
6798
+
6799
+ Example:
6800
+ >>> length = Length(100, "mm", "beam_length")
6801
+ >>> length.unit # Returns "mm"
6802
+ """
6803
+ return self.quantity.unit.symbol if self.quantity is not None else None
6804
+
4845
6805
 
4846
6806
  class Permeability(FieldQnty):
4847
6807
  """
@@ -4911,6 +6871,34 @@ class Permeability(FieldQnty):
4911
6871
  else:
4912
6872
  return field_setter.PermeabilitySetter(self, value)
4913
6873
 
6874
+ @property
6875
+ def value(self) -> float | None:
6876
+ """
6877
+ Get the numeric value of this permeability.
6878
+
6879
+ Returns:
6880
+ The numeric value if known, None if unknown
6881
+
6882
+ Example:
6883
+ >>> length = Length(100, "mm", "beam_length")
6884
+ >>> length.value # Returns 100.0
6885
+ """
6886
+ return self.quantity.value if self.quantity is not None else None
6887
+
6888
+ @property
6889
+ def unit(self) -> str | None:
6890
+ """
6891
+ Get the unit symbol of this permeability.
6892
+
6893
+ Returns:
6894
+ The unit symbol if known, None if unknown
6895
+
6896
+ Example:
6897
+ >>> length = Length(100, "mm", "beam_length")
6898
+ >>> length.unit # Returns "mm"
6899
+ """
6900
+ return self.quantity.unit.symbol if self.quantity is not None else None
6901
+
4914
6902
 
4915
6903
  class PhotonEmissionRate(FieldQnty):
4916
6904
  """
@@ -4980,6 +6968,34 @@ class PhotonEmissionRate(FieldQnty):
4980
6968
  else:
4981
6969
  return field_setter.PhotonEmissionRateSetter(self, value)
4982
6970
 
6971
+ @property
6972
+ def value(self) -> float | None:
6973
+ """
6974
+ Get the numeric value of this photon emission rate.
6975
+
6976
+ Returns:
6977
+ The numeric value if known, None if unknown
6978
+
6979
+ Example:
6980
+ >>> length = Length(100, "mm", "beam_length")
6981
+ >>> length.value # Returns 100.0
6982
+ """
6983
+ return self.quantity.value if self.quantity is not None else None
6984
+
6985
+ @property
6986
+ def unit(self) -> str | None:
6987
+ """
6988
+ Get the unit symbol of this photon emission rate.
6989
+
6990
+ Returns:
6991
+ The unit symbol if known, None if unknown
6992
+
6993
+ Example:
6994
+ >>> length = Length(100, "mm", "beam_length")
6995
+ >>> length.unit # Returns "mm"
6996
+ """
6997
+ return self.quantity.unit.symbol if self.quantity is not None else None
6998
+
4983
6999
 
4984
7000
  class PowerPerUnitMass(FieldQnty):
4985
7001
  """
@@ -5049,6 +7065,34 @@ class PowerPerUnitMass(FieldQnty):
5049
7065
  else:
5050
7066
  return field_setter.PowerPerUnitMassSetter(self, value)
5051
7067
 
7068
+ @property
7069
+ def value(self) -> float | None:
7070
+ """
7071
+ Get the numeric value of this power per unit mass or specific power.
7072
+
7073
+ Returns:
7074
+ The numeric value if known, None if unknown
7075
+
7076
+ Example:
7077
+ >>> length = Length(100, "mm", "beam_length")
7078
+ >>> length.value # Returns 100.0
7079
+ """
7080
+ return self.quantity.value if self.quantity is not None else None
7081
+
7082
+ @property
7083
+ def unit(self) -> str | None:
7084
+ """
7085
+ Get the unit symbol of this power per unit mass or specific power.
7086
+
7087
+ Returns:
7088
+ The unit symbol if known, None if unknown
7089
+
7090
+ Example:
7091
+ >>> length = Length(100, "mm", "beam_length")
7092
+ >>> length.unit # Returns "mm"
7093
+ """
7094
+ return self.quantity.unit.symbol if self.quantity is not None else None
7095
+
5052
7096
 
5053
7097
  class PowerPerUnitVolume(FieldQnty):
5054
7098
  """
@@ -5118,6 +7162,34 @@ class PowerPerUnitVolume(FieldQnty):
5118
7162
  else:
5119
7163
  return field_setter.PowerPerUnitVolumeSetter(self, value)
5120
7164
 
7165
+ @property
7166
+ def value(self) -> float | None:
7167
+ """
7168
+ Get the numeric value of this power per unit volume or power density.
7169
+
7170
+ Returns:
7171
+ The numeric value if known, None if unknown
7172
+
7173
+ Example:
7174
+ >>> length = Length(100, "mm", "beam_length")
7175
+ >>> length.value # Returns 100.0
7176
+ """
7177
+ return self.quantity.value if self.quantity is not None else None
7178
+
7179
+ @property
7180
+ def unit(self) -> str | None:
7181
+ """
7182
+ Get the unit symbol of this power per unit volume or power density.
7183
+
7184
+ Returns:
7185
+ The unit symbol if known, None if unknown
7186
+
7187
+ Example:
7188
+ >>> length = Length(100, "mm", "beam_length")
7189
+ >>> length.unit # Returns "mm"
7190
+ """
7191
+ return self.quantity.unit.symbol if self.quantity is not None else None
7192
+
5121
7193
 
5122
7194
  class PowerThermalDuty(FieldQnty):
5123
7195
  """
@@ -5187,6 +7259,34 @@ class PowerThermalDuty(FieldQnty):
5187
7259
  else:
5188
7260
  return field_setter.PowerThermalDutySetter(self, value)
5189
7261
 
7262
+ @property
7263
+ def value(self) -> float | None:
7264
+ """
7265
+ Get the numeric value of this power, thermal duty.
7266
+
7267
+ Returns:
7268
+ The numeric value if known, None if unknown
7269
+
7270
+ Example:
7271
+ >>> length = Length(100, "mm", "beam_length")
7272
+ >>> length.value # Returns 100.0
7273
+ """
7274
+ return self.quantity.value if self.quantity is not None else None
7275
+
7276
+ @property
7277
+ def unit(self) -> str | None:
7278
+ """
7279
+ Get the unit symbol of this power, thermal duty.
7280
+
7281
+ Returns:
7282
+ The unit symbol if known, None if unknown
7283
+
7284
+ Example:
7285
+ >>> length = Length(100, "mm", "beam_length")
7286
+ >>> length.unit # Returns "mm"
7287
+ """
7288
+ return self.quantity.unit.symbol if self.quantity is not None else None
7289
+
5190
7290
 
5191
7291
  class Pressure(FieldQnty):
5192
7292
  """
@@ -5256,6 +7356,34 @@ class Pressure(FieldQnty):
5256
7356
  else:
5257
7357
  return field_setter.PressureSetter(self, value)
5258
7358
 
7359
+ @property
7360
+ def value(self) -> float | None:
7361
+ """
7362
+ Get the numeric value of this pressure.
7363
+
7364
+ Returns:
7365
+ The numeric value if known, None if unknown
7366
+
7367
+ Example:
7368
+ >>> length = Length(100, "mm", "beam_length")
7369
+ >>> length.value # Returns 100.0
7370
+ """
7371
+ return self.quantity.value if self.quantity is not None else None
7372
+
7373
+ @property
7374
+ def unit(self) -> str | None:
7375
+ """
7376
+ Get the unit symbol of this pressure.
7377
+
7378
+ Returns:
7379
+ The unit symbol if known, None if unknown
7380
+
7381
+ Example:
7382
+ >>> length = Length(100, "mm", "beam_length")
7383
+ >>> length.unit # Returns "mm"
7384
+ """
7385
+ return self.quantity.unit.symbol if self.quantity is not None else None
7386
+
5259
7387
 
5260
7388
  class RadiationDoseEquivalent(FieldQnty):
5261
7389
  """
@@ -5325,6 +7453,34 @@ class RadiationDoseEquivalent(FieldQnty):
5325
7453
  else:
5326
7454
  return field_setter.RadiationDoseEquivalentSetter(self, value)
5327
7455
 
7456
+ @property
7457
+ def value(self) -> float | None:
7458
+ """
7459
+ Get the numeric value of this radiation dose equivalent.
7460
+
7461
+ Returns:
7462
+ The numeric value if known, None if unknown
7463
+
7464
+ Example:
7465
+ >>> length = Length(100, "mm", "beam_length")
7466
+ >>> length.value # Returns 100.0
7467
+ """
7468
+ return self.quantity.value if self.quantity is not None else None
7469
+
7470
+ @property
7471
+ def unit(self) -> str | None:
7472
+ """
7473
+ Get the unit symbol of this radiation dose equivalent.
7474
+
7475
+ Returns:
7476
+ The unit symbol if known, None if unknown
7477
+
7478
+ Example:
7479
+ >>> length = Length(100, "mm", "beam_length")
7480
+ >>> length.unit # Returns "mm"
7481
+ """
7482
+ return self.quantity.unit.symbol if self.quantity is not None else None
7483
+
5328
7484
 
5329
7485
  class RadiationExposure(FieldQnty):
5330
7486
  """
@@ -5394,6 +7550,34 @@ class RadiationExposure(FieldQnty):
5394
7550
  else:
5395
7551
  return field_setter.RadiationExposureSetter(self, value)
5396
7552
 
7553
+ @property
7554
+ def value(self) -> float | None:
7555
+ """
7556
+ Get the numeric value of this radiation exposure.
7557
+
7558
+ Returns:
7559
+ The numeric value if known, None if unknown
7560
+
7561
+ Example:
7562
+ >>> length = Length(100, "mm", "beam_length")
7563
+ >>> length.value # Returns 100.0
7564
+ """
7565
+ return self.quantity.value if self.quantity is not None else None
7566
+
7567
+ @property
7568
+ def unit(self) -> str | None:
7569
+ """
7570
+ Get the unit symbol of this radiation exposure.
7571
+
7572
+ Returns:
7573
+ The unit symbol if known, None if unknown
7574
+
7575
+ Example:
7576
+ >>> length = Length(100, "mm", "beam_length")
7577
+ >>> length.unit # Returns "mm"
7578
+ """
7579
+ return self.quantity.unit.symbol if self.quantity is not None else None
7580
+
5397
7581
 
5398
7582
  class Radioactivity(FieldQnty):
5399
7583
  """
@@ -5463,6 +7647,34 @@ class Radioactivity(FieldQnty):
5463
7647
  else:
5464
7648
  return field_setter.RadioactivitySetter(self, value)
5465
7649
 
7650
+ @property
7651
+ def value(self) -> float | None:
7652
+ """
7653
+ Get the numeric value of this radioactivity.
7654
+
7655
+ Returns:
7656
+ The numeric value if known, None if unknown
7657
+
7658
+ Example:
7659
+ >>> length = Length(100, "mm", "beam_length")
7660
+ >>> length.value # Returns 100.0
7661
+ """
7662
+ return self.quantity.value if self.quantity is not None else None
7663
+
7664
+ @property
7665
+ def unit(self) -> str | None:
7666
+ """
7667
+ Get the unit symbol of this radioactivity.
7668
+
7669
+ Returns:
7670
+ The unit symbol if known, None if unknown
7671
+
7672
+ Example:
7673
+ >>> length = Length(100, "mm", "beam_length")
7674
+ >>> length.unit # Returns "mm"
7675
+ """
7676
+ return self.quantity.unit.symbol if self.quantity is not None else None
7677
+
5466
7678
 
5467
7679
  class SecondMomentOfArea(FieldQnty):
5468
7680
  """
@@ -5532,6 +7744,34 @@ class SecondMomentOfArea(FieldQnty):
5532
7744
  else:
5533
7745
  return field_setter.SecondMomentOfAreaSetter(self, value)
5534
7746
 
7747
+ @property
7748
+ def value(self) -> float | None:
7749
+ """
7750
+ Get the numeric value of this second moment of area.
7751
+
7752
+ Returns:
7753
+ The numeric value if known, None if unknown
7754
+
7755
+ Example:
7756
+ >>> length = Length(100, "mm", "beam_length")
7757
+ >>> length.value # Returns 100.0
7758
+ """
7759
+ return self.quantity.value if self.quantity is not None else None
7760
+
7761
+ @property
7762
+ def unit(self) -> str | None:
7763
+ """
7764
+ Get the unit symbol of this second moment of area.
7765
+
7766
+ Returns:
7767
+ The unit symbol if known, None if unknown
7768
+
7769
+ Example:
7770
+ >>> length = Length(100, "mm", "beam_length")
7771
+ >>> length.unit # Returns "mm"
7772
+ """
7773
+ return self.quantity.unit.symbol if self.quantity is not None else None
7774
+
5535
7775
 
5536
7776
  class SecondRadiationConstantPlanck(FieldQnty):
5537
7777
  """
@@ -5601,6 +7841,34 @@ class SecondRadiationConstantPlanck(FieldQnty):
5601
7841
  else:
5602
7842
  return field_setter.SecondRadiationConstantPlanckSetter(self, value)
5603
7843
 
7844
+ @property
7845
+ def value(self) -> float | None:
7846
+ """
7847
+ Get the numeric value of this second radiation constant (planck).
7848
+
7849
+ Returns:
7850
+ The numeric value if known, None if unknown
7851
+
7852
+ Example:
7853
+ >>> length = Length(100, "mm", "beam_length")
7854
+ >>> length.value # Returns 100.0
7855
+ """
7856
+ return self.quantity.value if self.quantity is not None else None
7857
+
7858
+ @property
7859
+ def unit(self) -> str | None:
7860
+ """
7861
+ Get the unit symbol of this second radiation constant (planck).
7862
+
7863
+ Returns:
7864
+ The unit symbol if known, None if unknown
7865
+
7866
+ Example:
7867
+ >>> length = Length(100, "mm", "beam_length")
7868
+ >>> length.unit # Returns "mm"
7869
+ """
7870
+ return self.quantity.unit.symbol if self.quantity is not None else None
7871
+
5604
7872
 
5605
7873
  class SpecificEnthalpy(FieldQnty):
5606
7874
  """
@@ -5670,6 +7938,34 @@ class SpecificEnthalpy(FieldQnty):
5670
7938
  else:
5671
7939
  return field_setter.SpecificEnthalpySetter(self, value)
5672
7940
 
7941
+ @property
7942
+ def value(self) -> float | None:
7943
+ """
7944
+ Get the numeric value of this specific enthalpy.
7945
+
7946
+ Returns:
7947
+ The numeric value if known, None if unknown
7948
+
7949
+ Example:
7950
+ >>> length = Length(100, "mm", "beam_length")
7951
+ >>> length.value # Returns 100.0
7952
+ """
7953
+ return self.quantity.value if self.quantity is not None else None
7954
+
7955
+ @property
7956
+ def unit(self) -> str | None:
7957
+ """
7958
+ Get the unit symbol of this specific enthalpy.
7959
+
7960
+ Returns:
7961
+ The unit symbol if known, None if unknown
7962
+
7963
+ Example:
7964
+ >>> length = Length(100, "mm", "beam_length")
7965
+ >>> length.unit # Returns "mm"
7966
+ """
7967
+ return self.quantity.unit.symbol if self.quantity is not None else None
7968
+
5673
7969
 
5674
7970
  class SpecificGravity(FieldQnty):
5675
7971
  """
@@ -5739,6 +8035,34 @@ class SpecificGravity(FieldQnty):
5739
8035
  else:
5740
8036
  return field_setter.SpecificGravitySetter(self, value)
5741
8037
 
8038
+ @property
8039
+ def value(self) -> float | None:
8040
+ """
8041
+ Get the numeric value of this specific gravity.
8042
+
8043
+ Returns:
8044
+ The numeric value if known, None if unknown
8045
+
8046
+ Example:
8047
+ >>> length = Length(100, "mm", "beam_length")
8048
+ >>> length.value # Returns 100.0
8049
+ """
8050
+ return self.quantity.value if self.quantity is not None else None
8051
+
8052
+ @property
8053
+ def unit(self) -> str | None:
8054
+ """
8055
+ Get the unit symbol of this specific gravity.
8056
+
8057
+ Returns:
8058
+ The unit symbol if known, None if unknown
8059
+
8060
+ Example:
8061
+ >>> length = Length(100, "mm", "beam_length")
8062
+ >>> length.unit # Returns "mm"
8063
+ """
8064
+ return self.quantity.unit.symbol if self.quantity is not None else None
8065
+
5742
8066
 
5743
8067
  class SpecificHeatCapacityConstantPressure(FieldQnty):
5744
8068
  """
@@ -5808,6 +8132,34 @@ class SpecificHeatCapacityConstantPressure(FieldQnty):
5808
8132
  else:
5809
8133
  return field_setter.SpecificHeatCapacityConstantPressureSetter(self, value)
5810
8134
 
8135
+ @property
8136
+ def value(self) -> float | None:
8137
+ """
8138
+ Get the numeric value of this specific heat capacity (constant pressure).
8139
+
8140
+ Returns:
8141
+ The numeric value if known, None if unknown
8142
+
8143
+ Example:
8144
+ >>> length = Length(100, "mm", "beam_length")
8145
+ >>> length.value # Returns 100.0
8146
+ """
8147
+ return self.quantity.value if self.quantity is not None else None
8148
+
8149
+ @property
8150
+ def unit(self) -> str | None:
8151
+ """
8152
+ Get the unit symbol of this specific heat capacity (constant pressure).
8153
+
8154
+ Returns:
8155
+ The unit symbol if known, None if unknown
8156
+
8157
+ Example:
8158
+ >>> length = Length(100, "mm", "beam_length")
8159
+ >>> length.unit # Returns "mm"
8160
+ """
8161
+ return self.quantity.unit.symbol if self.quantity is not None else None
8162
+
5811
8163
 
5812
8164
  class SpecificLength(FieldQnty):
5813
8165
  """
@@ -5877,6 +8229,34 @@ class SpecificLength(FieldQnty):
5877
8229
  else:
5878
8230
  return field_setter.SpecificLengthSetter(self, value)
5879
8231
 
8232
+ @property
8233
+ def value(self) -> float | None:
8234
+ """
8235
+ Get the numeric value of this specific length.
8236
+
8237
+ Returns:
8238
+ The numeric value if known, None if unknown
8239
+
8240
+ Example:
8241
+ >>> length = Length(100, "mm", "beam_length")
8242
+ >>> length.value # Returns 100.0
8243
+ """
8244
+ return self.quantity.value if self.quantity is not None else None
8245
+
8246
+ @property
8247
+ def unit(self) -> str | None:
8248
+ """
8249
+ Get the unit symbol of this specific length.
8250
+
8251
+ Returns:
8252
+ The unit symbol if known, None if unknown
8253
+
8254
+ Example:
8255
+ >>> length = Length(100, "mm", "beam_length")
8256
+ >>> length.unit # Returns "mm"
8257
+ """
8258
+ return self.quantity.unit.symbol if self.quantity is not None else None
8259
+
5880
8260
 
5881
8261
  class SpecificSurface(FieldQnty):
5882
8262
  """
@@ -5946,6 +8326,34 @@ class SpecificSurface(FieldQnty):
5946
8326
  else:
5947
8327
  return field_setter.SpecificSurfaceSetter(self, value)
5948
8328
 
8329
+ @property
8330
+ def value(self) -> float | None:
8331
+ """
8332
+ Get the numeric value of this specific surface.
8333
+
8334
+ Returns:
8335
+ The numeric value if known, None if unknown
8336
+
8337
+ Example:
8338
+ >>> length = Length(100, "mm", "beam_length")
8339
+ >>> length.value # Returns 100.0
8340
+ """
8341
+ return self.quantity.value if self.quantity is not None else None
8342
+
8343
+ @property
8344
+ def unit(self) -> str | None:
8345
+ """
8346
+ Get the unit symbol of this specific surface.
8347
+
8348
+ Returns:
8349
+ The unit symbol if known, None if unknown
8350
+
8351
+ Example:
8352
+ >>> length = Length(100, "mm", "beam_length")
8353
+ >>> length.unit # Returns "mm"
8354
+ """
8355
+ return self.quantity.unit.symbol if self.quantity is not None else None
8356
+
5949
8357
 
5950
8358
  class SpecificVolume(FieldQnty):
5951
8359
  """
@@ -6015,6 +8423,34 @@ class SpecificVolume(FieldQnty):
6015
8423
  else:
6016
8424
  return field_setter.SpecificVolumeSetter(self, value)
6017
8425
 
8426
+ @property
8427
+ def value(self) -> float | None:
8428
+ """
8429
+ Get the numeric value of this specific volume.
8430
+
8431
+ Returns:
8432
+ The numeric value if known, None if unknown
8433
+
8434
+ Example:
8435
+ >>> length = Length(100, "mm", "beam_length")
8436
+ >>> length.value # Returns 100.0
8437
+ """
8438
+ return self.quantity.value if self.quantity is not None else None
8439
+
8440
+ @property
8441
+ def unit(self) -> str | None:
8442
+ """
8443
+ Get the unit symbol of this specific volume.
8444
+
8445
+ Returns:
8446
+ The unit symbol if known, None if unknown
8447
+
8448
+ Example:
8449
+ >>> length = Length(100, "mm", "beam_length")
8450
+ >>> length.unit # Returns "mm"
8451
+ """
8452
+ return self.quantity.unit.symbol if self.quantity is not None else None
8453
+
6018
8454
 
6019
8455
  class Stress(FieldQnty):
6020
8456
  """
@@ -6084,6 +8520,34 @@ class Stress(FieldQnty):
6084
8520
  else:
6085
8521
  return field_setter.StressSetter(self, value)
6086
8522
 
8523
+ @property
8524
+ def value(self) -> float | None:
8525
+ """
8526
+ Get the numeric value of this stress.
8527
+
8528
+ Returns:
8529
+ The numeric value if known, None if unknown
8530
+
8531
+ Example:
8532
+ >>> length = Length(100, "mm", "beam_length")
8533
+ >>> length.value # Returns 100.0
8534
+ """
8535
+ return self.quantity.value if self.quantity is not None else None
8536
+
8537
+ @property
8538
+ def unit(self) -> str | None:
8539
+ """
8540
+ Get the unit symbol of this stress.
8541
+
8542
+ Returns:
8543
+ The unit symbol if known, None if unknown
8544
+
8545
+ Example:
8546
+ >>> length = Length(100, "mm", "beam_length")
8547
+ >>> length.unit # Returns "mm"
8548
+ """
8549
+ return self.quantity.unit.symbol if self.quantity is not None else None
8550
+
6087
8551
 
6088
8552
  class SurfaceMassDensity(FieldQnty):
6089
8553
  """
@@ -6153,6 +8617,34 @@ class SurfaceMassDensity(FieldQnty):
6153
8617
  else:
6154
8618
  return field_setter.SurfaceMassDensitySetter(self, value)
6155
8619
 
8620
+ @property
8621
+ def value(self) -> float | None:
8622
+ """
8623
+ Get the numeric value of this surface mass density.
8624
+
8625
+ Returns:
8626
+ The numeric value if known, None if unknown
8627
+
8628
+ Example:
8629
+ >>> length = Length(100, "mm", "beam_length")
8630
+ >>> length.value # Returns 100.0
8631
+ """
8632
+ return self.quantity.value if self.quantity is not None else None
8633
+
8634
+ @property
8635
+ def unit(self) -> str | None:
8636
+ """
8637
+ Get the unit symbol of this surface mass density.
8638
+
8639
+ Returns:
8640
+ The unit symbol if known, None if unknown
8641
+
8642
+ Example:
8643
+ >>> length = Length(100, "mm", "beam_length")
8644
+ >>> length.unit # Returns "mm"
8645
+ """
8646
+ return self.quantity.unit.symbol if self.quantity is not None else None
8647
+
6156
8648
 
6157
8649
  class SurfaceTension(FieldQnty):
6158
8650
  """
@@ -6222,6 +8714,34 @@ class SurfaceTension(FieldQnty):
6222
8714
  else:
6223
8715
  return field_setter.SurfaceTensionSetter(self, value)
6224
8716
 
8717
+ @property
8718
+ def value(self) -> float | None:
8719
+ """
8720
+ Get the numeric value of this surface tension.
8721
+
8722
+ Returns:
8723
+ The numeric value if known, None if unknown
8724
+
8725
+ Example:
8726
+ >>> length = Length(100, "mm", "beam_length")
8727
+ >>> length.value # Returns 100.0
8728
+ """
8729
+ return self.quantity.value if self.quantity is not None else None
8730
+
8731
+ @property
8732
+ def unit(self) -> str | None:
8733
+ """
8734
+ Get the unit symbol of this surface tension.
8735
+
8736
+ Returns:
8737
+ The unit symbol if known, None if unknown
8738
+
8739
+ Example:
8740
+ >>> length = Length(100, "mm", "beam_length")
8741
+ >>> length.unit # Returns "mm"
8742
+ """
8743
+ return self.quantity.unit.symbol if self.quantity is not None else None
8744
+
6225
8745
 
6226
8746
  class Temperature(FieldQnty):
6227
8747
  """
@@ -6291,6 +8811,34 @@ class Temperature(FieldQnty):
6291
8811
  else:
6292
8812
  return field_setter.TemperatureSetter(self, value)
6293
8813
 
8814
+ @property
8815
+ def value(self) -> float | None:
8816
+ """
8817
+ Get the numeric value of this temperature.
8818
+
8819
+ Returns:
8820
+ The numeric value if known, None if unknown
8821
+
8822
+ Example:
8823
+ >>> length = Length(100, "mm", "beam_length")
8824
+ >>> length.value # Returns 100.0
8825
+ """
8826
+ return self.quantity.value if self.quantity is not None else None
8827
+
8828
+ @property
8829
+ def unit(self) -> str | None:
8830
+ """
8831
+ Get the unit symbol of this temperature.
8832
+
8833
+ Returns:
8834
+ The unit symbol if known, None if unknown
8835
+
8836
+ Example:
8837
+ >>> length = Length(100, "mm", "beam_length")
8838
+ >>> length.unit # Returns "mm"
8839
+ """
8840
+ return self.quantity.unit.symbol if self.quantity is not None else None
8841
+
6294
8842
 
6295
8843
  class ThermalConductivity(FieldQnty):
6296
8844
  """
@@ -6360,6 +8908,34 @@ class ThermalConductivity(FieldQnty):
6360
8908
  else:
6361
8909
  return field_setter.ThermalConductivitySetter(self, value)
6362
8910
 
8911
+ @property
8912
+ def value(self) -> float | None:
8913
+ """
8914
+ Get the numeric value of this thermal conductivity.
8915
+
8916
+ Returns:
8917
+ The numeric value if known, None if unknown
8918
+
8919
+ Example:
8920
+ >>> length = Length(100, "mm", "beam_length")
8921
+ >>> length.value # Returns 100.0
8922
+ """
8923
+ return self.quantity.value if self.quantity is not None else None
8924
+
8925
+ @property
8926
+ def unit(self) -> str | None:
8927
+ """
8928
+ Get the unit symbol of this thermal conductivity.
8929
+
8930
+ Returns:
8931
+ The unit symbol if known, None if unknown
8932
+
8933
+ Example:
8934
+ >>> length = Length(100, "mm", "beam_length")
8935
+ >>> length.unit # Returns "mm"
8936
+ """
8937
+ return self.quantity.unit.symbol if self.quantity is not None else None
8938
+
6363
8939
 
6364
8940
  class Time(FieldQnty):
6365
8941
  """
@@ -6429,6 +9005,34 @@ class Time(FieldQnty):
6429
9005
  else:
6430
9006
  return field_setter.TimeSetter(self, value)
6431
9007
 
9008
+ @property
9009
+ def value(self) -> float | None:
9010
+ """
9011
+ Get the numeric value of this time.
9012
+
9013
+ Returns:
9014
+ The numeric value if known, None if unknown
9015
+
9016
+ Example:
9017
+ >>> length = Length(100, "mm", "beam_length")
9018
+ >>> length.value # Returns 100.0
9019
+ """
9020
+ return self.quantity.value if self.quantity is not None else None
9021
+
9022
+ @property
9023
+ def unit(self) -> str | None:
9024
+ """
9025
+ Get the unit symbol of this time.
9026
+
9027
+ Returns:
9028
+ The unit symbol if known, None if unknown
9029
+
9030
+ Example:
9031
+ >>> length = Length(100, "mm", "beam_length")
9032
+ >>> length.unit # Returns "mm"
9033
+ """
9034
+ return self.quantity.unit.symbol if self.quantity is not None else None
9035
+
6432
9036
 
6433
9037
  class Torque(FieldQnty):
6434
9038
  """
@@ -6498,6 +9102,34 @@ class Torque(FieldQnty):
6498
9102
  else:
6499
9103
  return field_setter.TorqueSetter(self, value)
6500
9104
 
9105
+ @property
9106
+ def value(self) -> float | None:
9107
+ """
9108
+ Get the numeric value of this torque.
9109
+
9110
+ Returns:
9111
+ The numeric value if known, None if unknown
9112
+
9113
+ Example:
9114
+ >>> length = Length(100, "mm", "beam_length")
9115
+ >>> length.value # Returns 100.0
9116
+ """
9117
+ return self.quantity.value if self.quantity is not None else None
9118
+
9119
+ @property
9120
+ def unit(self) -> str | None:
9121
+ """
9122
+ Get the unit symbol of this torque.
9123
+
9124
+ Returns:
9125
+ The unit symbol if known, None if unknown
9126
+
9127
+ Example:
9128
+ >>> length = Length(100, "mm", "beam_length")
9129
+ >>> length.unit # Returns "mm"
9130
+ """
9131
+ return self.quantity.unit.symbol if self.quantity is not None else None
9132
+
6501
9133
 
6502
9134
  class TurbulenceEnergyDissipationRate(FieldQnty):
6503
9135
  """
@@ -6567,6 +9199,34 @@ class TurbulenceEnergyDissipationRate(FieldQnty):
6567
9199
  else:
6568
9200
  return field_setter.TurbulenceEnergyDissipationRateSetter(self, value)
6569
9201
 
9202
+ @property
9203
+ def value(self) -> float | None:
9204
+ """
9205
+ Get the numeric value of this turbulence energy dissipation rate.
9206
+
9207
+ Returns:
9208
+ The numeric value if known, None if unknown
9209
+
9210
+ Example:
9211
+ >>> length = Length(100, "mm", "beam_length")
9212
+ >>> length.value # Returns 100.0
9213
+ """
9214
+ return self.quantity.value if self.quantity is not None else None
9215
+
9216
+ @property
9217
+ def unit(self) -> str | None:
9218
+ """
9219
+ Get the unit symbol of this turbulence energy dissipation rate.
9220
+
9221
+ Returns:
9222
+ The unit symbol if known, None if unknown
9223
+
9224
+ Example:
9225
+ >>> length = Length(100, "mm", "beam_length")
9226
+ >>> length.unit # Returns "mm"
9227
+ """
9228
+ return self.quantity.unit.symbol if self.quantity is not None else None
9229
+
6570
9230
 
6571
9231
  class VelocityAngular(FieldQnty):
6572
9232
  """
@@ -6636,6 +9296,34 @@ class VelocityAngular(FieldQnty):
6636
9296
  else:
6637
9297
  return field_setter.VelocityAngularSetter(self, value)
6638
9298
 
9299
+ @property
9300
+ def value(self) -> float | None:
9301
+ """
9302
+ Get the numeric value of this velocity, angular.
9303
+
9304
+ Returns:
9305
+ The numeric value if known, None if unknown
9306
+
9307
+ Example:
9308
+ >>> length = Length(100, "mm", "beam_length")
9309
+ >>> length.value # Returns 100.0
9310
+ """
9311
+ return self.quantity.value if self.quantity is not None else None
9312
+
9313
+ @property
9314
+ def unit(self) -> str | None:
9315
+ """
9316
+ Get the unit symbol of this velocity, angular.
9317
+
9318
+ Returns:
9319
+ The unit symbol if known, None if unknown
9320
+
9321
+ Example:
9322
+ >>> length = Length(100, "mm", "beam_length")
9323
+ >>> length.unit # Returns "mm"
9324
+ """
9325
+ return self.quantity.unit.symbol if self.quantity is not None else None
9326
+
6639
9327
 
6640
9328
  class VelocityLinear(FieldQnty):
6641
9329
  """
@@ -6705,6 +9393,34 @@ class VelocityLinear(FieldQnty):
6705
9393
  else:
6706
9394
  return field_setter.VelocityLinearSetter(self, value)
6707
9395
 
9396
+ @property
9397
+ def value(self) -> float | None:
9398
+ """
9399
+ Get the numeric value of this velocity, linear.
9400
+
9401
+ Returns:
9402
+ The numeric value if known, None if unknown
9403
+
9404
+ Example:
9405
+ >>> length = Length(100, "mm", "beam_length")
9406
+ >>> length.value # Returns 100.0
9407
+ """
9408
+ return self.quantity.value if self.quantity is not None else None
9409
+
9410
+ @property
9411
+ def unit(self) -> str | None:
9412
+ """
9413
+ Get the unit symbol of this velocity, linear.
9414
+
9415
+ Returns:
9416
+ The unit symbol if known, None if unknown
9417
+
9418
+ Example:
9419
+ >>> length = Length(100, "mm", "beam_length")
9420
+ >>> length.unit # Returns "mm"
9421
+ """
9422
+ return self.quantity.unit.symbol if self.quantity is not None else None
9423
+
6708
9424
 
6709
9425
  class ViscosityDynamic(FieldQnty):
6710
9426
  """
@@ -6774,6 +9490,34 @@ class ViscosityDynamic(FieldQnty):
6774
9490
  else:
6775
9491
  return field_setter.ViscosityDynamicSetter(self, value)
6776
9492
 
9493
+ @property
9494
+ def value(self) -> float | None:
9495
+ """
9496
+ Get the numeric value of this viscosity, dynamic.
9497
+
9498
+ Returns:
9499
+ The numeric value if known, None if unknown
9500
+
9501
+ Example:
9502
+ >>> length = Length(100, "mm", "beam_length")
9503
+ >>> length.value # Returns 100.0
9504
+ """
9505
+ return self.quantity.value if self.quantity is not None else None
9506
+
9507
+ @property
9508
+ def unit(self) -> str | None:
9509
+ """
9510
+ Get the unit symbol of this viscosity, dynamic.
9511
+
9512
+ Returns:
9513
+ The unit symbol if known, None if unknown
9514
+
9515
+ Example:
9516
+ >>> length = Length(100, "mm", "beam_length")
9517
+ >>> length.unit # Returns "mm"
9518
+ """
9519
+ return self.quantity.unit.symbol if self.quantity is not None else None
9520
+
6777
9521
 
6778
9522
  class ViscosityKinematic(FieldQnty):
6779
9523
  """
@@ -6843,6 +9587,34 @@ class ViscosityKinematic(FieldQnty):
6843
9587
  else:
6844
9588
  return field_setter.ViscosityKinematicSetter(self, value)
6845
9589
 
9590
+ @property
9591
+ def value(self) -> float | None:
9592
+ """
9593
+ Get the numeric value of this viscosity, kinematic.
9594
+
9595
+ Returns:
9596
+ The numeric value if known, None if unknown
9597
+
9598
+ Example:
9599
+ >>> length = Length(100, "mm", "beam_length")
9600
+ >>> length.value # Returns 100.0
9601
+ """
9602
+ return self.quantity.value if self.quantity is not None else None
9603
+
9604
+ @property
9605
+ def unit(self) -> str | None:
9606
+ """
9607
+ Get the unit symbol of this viscosity, kinematic.
9608
+
9609
+ Returns:
9610
+ The unit symbol if known, None if unknown
9611
+
9612
+ Example:
9613
+ >>> length = Length(100, "mm", "beam_length")
9614
+ >>> length.unit # Returns "mm"
9615
+ """
9616
+ return self.quantity.unit.symbol if self.quantity is not None else None
9617
+
6846
9618
 
6847
9619
  class Volume(FieldQnty):
6848
9620
  """
@@ -6912,6 +9684,34 @@ class Volume(FieldQnty):
6912
9684
  else:
6913
9685
  return field_setter.VolumeSetter(self, value)
6914
9686
 
9687
+ @property
9688
+ def value(self) -> float | None:
9689
+ """
9690
+ Get the numeric value of this volume.
9691
+
9692
+ Returns:
9693
+ The numeric value if known, None if unknown
9694
+
9695
+ Example:
9696
+ >>> length = Length(100, "mm", "beam_length")
9697
+ >>> length.value # Returns 100.0
9698
+ """
9699
+ return self.quantity.value if self.quantity is not None else None
9700
+
9701
+ @property
9702
+ def unit(self) -> str | None:
9703
+ """
9704
+ Get the unit symbol of this volume.
9705
+
9706
+ Returns:
9707
+ The unit symbol if known, None if unknown
9708
+
9709
+ Example:
9710
+ >>> length = Length(100, "mm", "beam_length")
9711
+ >>> length.unit # Returns "mm"
9712
+ """
9713
+ return self.quantity.unit.symbol if self.quantity is not None else None
9714
+
6915
9715
 
6916
9716
  class VolumeFractionOfI(FieldQnty):
6917
9717
  """
@@ -6981,6 +9781,34 @@ class VolumeFractionOfI(FieldQnty):
6981
9781
  else:
6982
9782
  return field_setter.VolumeFractionOfISetter(self, value)
6983
9783
 
9784
+ @property
9785
+ def value(self) -> float | None:
9786
+ """
9787
+ Get the numeric value of this volume fraction of "i".
9788
+
9789
+ Returns:
9790
+ The numeric value if known, None if unknown
9791
+
9792
+ Example:
9793
+ >>> length = Length(100, "mm", "beam_length")
9794
+ >>> length.value # Returns 100.0
9795
+ """
9796
+ return self.quantity.value if self.quantity is not None else None
9797
+
9798
+ @property
9799
+ def unit(self) -> str | None:
9800
+ """
9801
+ Get the unit symbol of this volume fraction of "i".
9802
+
9803
+ Returns:
9804
+ The unit symbol if known, None if unknown
9805
+
9806
+ Example:
9807
+ >>> length = Length(100, "mm", "beam_length")
9808
+ >>> length.unit # Returns "mm"
9809
+ """
9810
+ return self.quantity.unit.symbol if self.quantity is not None else None
9811
+
6984
9812
 
6985
9813
  class VolumetricCalorificHeatingValue(FieldQnty):
6986
9814
  """
@@ -7050,6 +9878,34 @@ class VolumetricCalorificHeatingValue(FieldQnty):
7050
9878
  else:
7051
9879
  return field_setter.VolumetricCalorificHeatingValueSetter(self, value)
7052
9880
 
9881
+ @property
9882
+ def value(self) -> float | None:
9883
+ """
9884
+ Get the numeric value of this volumetric calorific (heating) value.
9885
+
9886
+ Returns:
9887
+ The numeric value if known, None if unknown
9888
+
9889
+ Example:
9890
+ >>> length = Length(100, "mm", "beam_length")
9891
+ >>> length.value # Returns 100.0
9892
+ """
9893
+ return self.quantity.value if self.quantity is not None else None
9894
+
9895
+ @property
9896
+ def unit(self) -> str | None:
9897
+ """
9898
+ Get the unit symbol of this volumetric calorific (heating) value.
9899
+
9900
+ Returns:
9901
+ The unit symbol if known, None if unknown
9902
+
9903
+ Example:
9904
+ >>> length = Length(100, "mm", "beam_length")
9905
+ >>> length.unit # Returns "mm"
9906
+ """
9907
+ return self.quantity.unit.symbol if self.quantity is not None else None
9908
+
7053
9909
 
7054
9910
  class VolumetricCoefficientOfExpansion(FieldQnty):
7055
9911
  """
@@ -7119,6 +9975,34 @@ class VolumetricCoefficientOfExpansion(FieldQnty):
7119
9975
  else:
7120
9976
  return field_setter.VolumetricCoefficientOfExpansionSetter(self, value)
7121
9977
 
9978
+ @property
9979
+ def value(self) -> float | None:
9980
+ """
9981
+ Get the numeric value of this volumetric coefficient of expansion.
9982
+
9983
+ Returns:
9984
+ The numeric value if known, None if unknown
9985
+
9986
+ Example:
9987
+ >>> length = Length(100, "mm", "beam_length")
9988
+ >>> length.value # Returns 100.0
9989
+ """
9990
+ return self.quantity.value if self.quantity is not None else None
9991
+
9992
+ @property
9993
+ def unit(self) -> str | None:
9994
+ """
9995
+ Get the unit symbol of this volumetric coefficient of expansion.
9996
+
9997
+ Returns:
9998
+ The unit symbol if known, None if unknown
9999
+
10000
+ Example:
10001
+ >>> length = Length(100, "mm", "beam_length")
10002
+ >>> length.unit # Returns "mm"
10003
+ """
10004
+ return self.quantity.unit.symbol if self.quantity is not None else None
10005
+
7122
10006
 
7123
10007
  class VolumetricFlowRate(FieldQnty):
7124
10008
  """
@@ -7188,6 +10072,34 @@ class VolumetricFlowRate(FieldQnty):
7188
10072
  else:
7189
10073
  return field_setter.VolumetricFlowRateSetter(self, value)
7190
10074
 
10075
+ @property
10076
+ def value(self) -> float | None:
10077
+ """
10078
+ Get the numeric value of this volumetric flow rate.
10079
+
10080
+ Returns:
10081
+ The numeric value if known, None if unknown
10082
+
10083
+ Example:
10084
+ >>> length = Length(100, "mm", "beam_length")
10085
+ >>> length.value # Returns 100.0
10086
+ """
10087
+ return self.quantity.value if self.quantity is not None else None
10088
+
10089
+ @property
10090
+ def unit(self) -> str | None:
10091
+ """
10092
+ Get the unit symbol of this volumetric flow rate.
10093
+
10094
+ Returns:
10095
+ The unit symbol if known, None if unknown
10096
+
10097
+ Example:
10098
+ >>> length = Length(100, "mm", "beam_length")
10099
+ >>> length.unit # Returns "mm"
10100
+ """
10101
+ return self.quantity.unit.symbol if self.quantity is not None else None
10102
+
7191
10103
 
7192
10104
  class VolumetricFlux(FieldQnty):
7193
10105
  """
@@ -7257,6 +10169,34 @@ class VolumetricFlux(FieldQnty):
7257
10169
  else:
7258
10170
  return field_setter.VolumetricFluxSetter(self, value)
7259
10171
 
10172
+ @property
10173
+ def value(self) -> float | None:
10174
+ """
10175
+ Get the numeric value of this volumetric flux.
10176
+
10177
+ Returns:
10178
+ The numeric value if known, None if unknown
10179
+
10180
+ Example:
10181
+ >>> length = Length(100, "mm", "beam_length")
10182
+ >>> length.value # Returns 100.0
10183
+ """
10184
+ return self.quantity.value if self.quantity is not None else None
10185
+
10186
+ @property
10187
+ def unit(self) -> str | None:
10188
+ """
10189
+ Get the unit symbol of this volumetric flux.
10190
+
10191
+ Returns:
10192
+ The unit symbol if known, None if unknown
10193
+
10194
+ Example:
10195
+ >>> length = Length(100, "mm", "beam_length")
10196
+ >>> length.unit # Returns "mm"
10197
+ """
10198
+ return self.quantity.unit.symbol if self.quantity is not None else None
10199
+
7260
10200
 
7261
10201
  class VolumetricMassFlowRate(FieldQnty):
7262
10202
  """
@@ -7326,6 +10266,34 @@ class VolumetricMassFlowRate(FieldQnty):
7326
10266
  else:
7327
10267
  return field_setter.VolumetricMassFlowRateSetter(self, value)
7328
10268
 
10269
+ @property
10270
+ def value(self) -> float | None:
10271
+ """
10272
+ Get the numeric value of this volumetric mass flow rate.
10273
+
10274
+ Returns:
10275
+ The numeric value if known, None if unknown
10276
+
10277
+ Example:
10278
+ >>> length = Length(100, "mm", "beam_length")
10279
+ >>> length.value # Returns 100.0
10280
+ """
10281
+ return self.quantity.value if self.quantity is not None else None
10282
+
10283
+ @property
10284
+ def unit(self) -> str | None:
10285
+ """
10286
+ Get the unit symbol of this volumetric mass flow rate.
10287
+
10288
+ Returns:
10289
+ The unit symbol if known, None if unknown
10290
+
10291
+ Example:
10292
+ >>> length = Length(100, "mm", "beam_length")
10293
+ >>> length.unit # Returns "mm"
10294
+ """
10295
+ return self.quantity.unit.symbol if self.quantity is not None else None
10296
+
7329
10297
 
7330
10298
  class Wavenumber(FieldQnty):
7331
10299
  """
@@ -7395,4 +10363,32 @@ class Wavenumber(FieldQnty):
7395
10363
  else:
7396
10364
  return field_setter.WavenumberSetter(self, value)
7397
10365
 
10366
+ @property
10367
+ def value(self) -> float | None:
10368
+ """
10369
+ Get the numeric value of this wavenumber.
10370
+
10371
+ Returns:
10372
+ The numeric value if known, None if unknown
10373
+
10374
+ Example:
10375
+ >>> length = Length(100, "mm", "beam_length")
10376
+ >>> length.value # Returns 100.0
10377
+ """
10378
+ return self.quantity.value if self.quantity is not None else None
10379
+
10380
+ @property
10381
+ def unit(self) -> str | None:
10382
+ """
10383
+ Get the unit symbol of this wavenumber.
10384
+
10385
+ Returns:
10386
+ The unit symbol if known, None if unknown
10387
+
10388
+ Example:
10389
+ >>> length = Length(100, "mm", "beam_length")
10390
+ >>> length.unit # Returns "mm"
10391
+ """
10392
+ return self.quantity.unit.symbol if self.quantity is not None else None
10393
+
7398
10394