DisplayUnit¶
- class ospx.fmi.unit.DisplayUnit(name: str = <factory>, factor: float = 1.0, offset: float = 0.0)¶
Bases:
object
fmi 2.0 DisplayUnit.
display unit value = factor * unit value + offset n See https://github.com/modelica/fmi-standard/blob/v2.0.x/schema/fmi2Unit.xsd
- __init__(name: str = <factory>, factor: float = 1.0, offset: float = 0.0) None ¶
Methods
__init__
([name, factor, offset])Attributes
- factor: float = 1.0¶
- name: str¶
- offset: float = 0.0¶