feat(core): implement physical types with NewType pattern

Story 1.2: Physical Types (NewType Pattern)

- Add Pressure, Temperature, Enthalpy, MassFlow types
- Implement SI base units with conversion methods
- Add arithmetic operations (Add, Sub, Mul, Div)
- Add Display and Debug traits
- Comprehensive unit tests (37 tests)
- Add PSI and Fahrenheit conversions
- Code review fixes applied

All tests passing, clippy clean
This commit is contained in:
Sepehr
2026-02-14 15:25:30 +01:00
parent dd8697b07b
commit be70a7a6c7
5 changed files with 811 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ development_status:
# Epic 1: Extensible Component Framework
epic-1: in-progress
1-1-component-trait-definition: done
1-2-physical-types-newtype-pattern: backlog
1-2-physical-types-newtype-pattern: done
1-3-port-and-connection-system: backlog
1-4-compressor-component-ahri-540: backlog
1-5-generic-heat-exchanger-framework: backlog