Unit¶
- class ospx.fmi.unit.Unit(name: str = <factory>, base_unit: ~ospx.fmi.unit.BaseUnit | None = None, display_unit: ~ospx.fmi.unit.DisplayUnit = <factory>)¶
Bases:
object
fmi 2.0 Unit Definition.
See https://github.com/modelica/fmi-standard/blob/v2.0.x/schema/fmi2Unit.xsd
- __init__(name: str = <factory>, base_unit: ~ospx.fmi.unit.BaseUnit | None = None, display_unit: ~ospx.fmi.unit.DisplayUnit = <factory>) None ¶
Methods
__init__
([name, base_unit, display_unit])Attributes
- display_unit: DisplayUnit¶
- name: str¶