Units Module¶
For complete API documentation of the units module, see API Reference.
Quick Reference¶
Unit- Unit field annotationHasUnits- Base mixin for unit-aware componentsHasPerUnit- Extended mixin with system-base supportUnitSystem- Display mode enumerationset_unit_system()- Set global display modeget_unit_system()- Get current display mode
See also
Create Power System Components with Units for a step-by-step introduction
Work with Units for practical recipes
Unit System Design and Architecture for design rationale