-- -------------------------------------------------------------------------- -- -- Title : Draft Standard VHDL 1076.1 Multi Energy Domain Packages. -- -- Library : This package shall be compiled into a library symbolically -- : named IEEE. -- -- Developers : IEEE 1076.1 Working Group, -- (to be changed with the actual WG PAR number). -- -- Purpose : This package contains declarations for modeling in the -- : mechanical energy domain. -- -- Note : -- -- -------------------------------------------------------------------------- -- Modification History : -- -- Version Date Description -- 1.0 6 July 2001 Original version. -- -------------------------------------------------------------------------- library IEEE; use IEEE.ENERGY_SYSTEMS.all; package MECHANICAL_SYSTEMS is -- type declarations -- subtype declarations subtype DISPLACEMENT is REAL tolerance "DEFAULT_DISPLACEMENT"; subtype FORCE is REAL tolerance "DEFAULT_FORCE"; subtype VELOCITY is REAL tolerance "DEFAULT_VELOCITY"; subtype ACCELERATION is REAL tolerance "DEFAULT_ACCELERATION"; subtype MASS is REAL tolerance "DEFAULT_MASS"; subtype STIFFNESS is REAL tolerance "DEFAULT_STIFFNESS"; subtype DAMPING is REAL tolerance "DEFAULT_DAMPING"; subtype ANGLE is REAL tolerance "DEFAULT_ANGLE"; subtype TORQUE is REAL tolerance "DEFAULT_TORQUE"; subtype ANGULAR_VELOCITY is REAL tolerance "DEFAULT_ANGULAR_VELOCITY"; subtype ANGULAR_ACCEL is REAL tolerance "DEFAULT_ANGULAR_ACCEL"; subtype MMOMENT_I is REAL tolerance "DEFAULT_ MMOMENT_I"; -- nature declarations nature TRANSLATIONAL is DISPLACEMENT across FORCE through TRANSLATIONAL_REF reference; nature TRANSLATIONAL_VECTOR is array (NATURAL range <>) of TRANSLATIONAL; nature TRANSLATIONAL_V is VELOCITY across FORCE through TRANSLATIONAL_V_REF reference; nature TRANSLATIONALV_VECTOR is array (NATURAL range <>) of TRANSLATIONAL_V; nature ROTATIONAL is ANGLE across TORQUE through ROTATIONAL_REF reference; nature ROTATIONAL_VECTOR is array (NATURAL range <>) of ROTATIONAL; nature ROTATIONAL_V is ANGULAR_VELOCITY across TORQUE through ROTATIONAL_V_REF reference; nature ROTATIONALV_VECTOR is array (NATURAL range <>) of ROTATIONAL_V; -- subnature declarations -- object declarations -- attribute declarations attribute SYMBOL of DISPLACEMENT : subtype is "Meter"; attribute SYMBOL of FORCE : subtype is "Newton"; attribute SYMBOL of VELOCITY : subtype is "Meters/Second"; attribute SYMBOL of ACCELERATION : subtype is "Meters/Second^2"; attribute SYMBOL of MASS : subtype is "Kilogram"; attribute SYMBOL of STIFFNESS : subtype is "Newton/Meter"; attribute SYMBOL of DAMPING : subtype is "Newton Seconds/Meter"; attribute SYMBOL of ANGLE : subtype is "Radian"; attribute SYMBOL of TORQUE : subtype is "Newton Meters"; attribute SYMBOL of ANGULAR_VELOCITY : subtype is "Radians/Second"; attribute SYMBOL of ANGULAR_ACCEL : subtype is "Radiens/Second^2"; attribute SYMBOL of MMOMENT_I : subtype is "Kilogram Meters^2"; -- operation declarations (e.g., subprograms) -- alias declarations alias ANCHOR is TRANSLATIONAL_REF; end package MECHANICAL_SYSTEMS;