.. testsetup:: from mhi.pscad.unit import UnitSystem, Value, ComplexValue UnitSystem.parse(""" """) ##### Unit ##### .. py:currentmodule:: mhi.pscad.unit This module contains utilities for working with dimensioned real and complex numbers, as in numbers with units. By default, PSCAD Automation Library obtains the unit system from a running PSCAD application, hence PSCAD must be running when using the classes provided here for unit conversions. Alternatively, the user can provide their own unit system in an XML file using :meth:`UnitSystem.parse`. Unit System =========== .. autoclass:: UnitSystem :members: parse, convert Value ===== .. autoclass:: Value :members: Complex Value ============= .. autoclass:: ComplexValue :members: