BaseUnit

class ospx.fmi.unit.BaseUnit(kg: int = 0, m: int = 0, s: int = 0, A: int = 0, K: int = 0, mol: int = 0, cd: int = 0, rad: int = 0, factor: float = 1.0, offset: float = 0.0)

Bases: object

fmi 2.0 BaseUnit.

Unit definition with reference to SI base units n base unit value = factor * unit value + offset n See https://github.com/modelica/fmi-standard/blob/v2.0.x/schema/fmi2Unit.xsd

__init__(kg: int = 0, m: int = 0, s: int = 0, A: int = 0, K: int = 0, mol: int = 0, cd: int = 0, rad: int = 0, factor: float = 1.0, offset: float = 0.0) None

Methods

__init__([kg, m, s, A, K, mol, cd, rad, ...])

Attributes

A: int = 0
K: int = 0
cd: int = 0
factor: float = 1.0
kg: int = 0
m: int = 0
mol: int = 0
offset: float = 0.0
rad: int = 0
s: int = 0