!
!-------------------------- Default Units for Model ---------------------------!
!
!
defaults units  &
   length = mm  &
   angle = deg  &
   force = newton  &
   mass = kg  &
   time = sec
!
defaults units  &
   coordinate_system_type = cartesian  &
   orientation_type = body313
!
!------------------------ Default Attributes for Model ------------------------!
!
!
defaults attributes  &
   inheritance = bottom_up  &
   icon_visibility = on  &
   grid_visibility = off  &
   size_of_icons = 50.0  &
   spacing_for_grid = 1000.0
!
!--------------------------- Plugins used by Model ----------------------------!
!
!
!
!------------------------------ Adams/View Model ------------------------------!
!
!
model create  &
   model_name = platform_isolator
!
view erase
!
!--------------------------------- Materials ----------------------------------!
!
!
material create  &
   material_name = .platform_isolator.steel  &
   adams_id = 1  &
   youngs_modulus = 2.07E+005  &
   poissons_ratio = 0.29  &
   density = 7.801E-006
!
!-------------------------------- Rigid Parts ---------------------------------!
!
! Create parts and their dependent markers and graphics
!
!----------------------------------- ground -----------------------------------!
!
!
! ****** Ground Part ******
!
defaults model  &
   part_name = ground
!
defaults coordinate_system  &
   default_coordinate_system = .platform_isolator.ground
!
! ****** Markers for current part ******
!
marker create  &
   marker_name = .platform_isolator.ground.MARKER_16  &
   adams_id = 16  &
   location = -250.0, 100.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.ground.MARKER_18  &
   adams_id = 18  &
   location = 300.0, 100.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.ground.MARKER_19  &
   adams_id = 19  &
   location = -250.0, -200.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.ground.MARKER_20  &
   adams_id = 20  &
   location = 300.0, -200.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.ground.MARKER_34  &
   adams_id = 34  &
   location = 25.0, -150.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
part create rigid_body mass_properties  &
   part_name = .platform_isolator.ground  &
   material_type = .platform_isolator.steel
!
part attributes  &
   part_name = .platform_isolator.ground  &
   name_visibility = off
!
!----------------------------------- washer -----------------------------------!
!
!
defaults coordinate_system  &
   default_coordinate_system = .platform_isolator.ground
!
part create rigid_body name_and_position  &
   part_name = .platform_isolator.washer  &
   adams_id = 4  &
   location = 0.0, 0.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
defaults coordinate_system  &
   default_coordinate_system = .platform_isolator.washer
!
! ****** Markers for current part ******
!
marker create  &
   marker_name = .platform_isolator.washer.MARKER_21  &
   adams_id = 21  &
   location = -200.0, 400.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.washer.cm  &
   adams_id = 27  &
   location = -75.0, 263.1432015678, 28.8456316237  &
   orientation = 270.0d, 90.0d, 97.3359939646d
!
marker create  &
   marker_name = .platform_isolator.washer.MARKER_22  &
   adams_id = 22  &
   location = -75.0, 300.0, 150.0  &
   orientation = 90.0d, 180.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.washer.MARKER_23  &
   adams_id = 23  &
   location = -200.0, 200.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.washer.MARKER_24  &
   adams_id = 24  &
   location = 50.0, 200.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.washer.MARKER_26  &
   adams_id = 26  &
   location = -200.0, 150.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.washer.MARKER_30  &
   adams_id = 30  &
   location = -75.0, 300.0, 40.0  &
   orientation = 90.0d, 180.0d, 0.0d
!
part create rigid_body mass_properties  &
   part_name = .platform_isolator.washer  &
   material_type = .platform_isolator.steel
!
! ****** Graphics for current part ******
!
geometry create shape block  &
   block_name = .platform_isolator.washer.BOX_16  &
   adams_id = 16  &
   corner_marker = .platform_isolator.washer.MARKER_21  &
   diag_corner_coords = 250.0, -200.0, 40.0
!
geometry create shape cylinder  &
   cylinder_name = .platform_isolator.washer.CYLINDER_17  &
   adams_id = 17  &
   center_marker = .platform_isolator.washer.MARKER_22  &
   angle_extent = 360.0  &
   length = 450.0  &
   radius = 80.0  &
   side_count_for_body = 20  &
   segment_count_for_ends = 20
!
geometry create shape csg  &
   csg_name = .platform_isolator.washer.CSG_18  &
   adams_id = 18  &
   base_object = .platform_isolator.washer.BOX_16  &
   object = .platform_isolator.washer.CYLINDER_17  &
   type = difference
!
geometry create shape block  &
   block_name = .platform_isolator.washer.BOX_19  &
   adams_id = 19  &
   corner_marker = .platform_isolator.washer.MARKER_23  &
   diag_corner_coords = 50.0, -50.0, 100.0
!
geometry create shape block  &
   block_name = .platform_isolator.washer.BOX_20  &
   adams_id = 20  &
   corner_marker = .platform_isolator.washer.MARKER_24  &
   diag_corner_coords = -50.0, -50.0, 100.0
!
part attributes  &
   part_name = .platform_isolator.washer  &
   color = GREEN  &
   name_visibility = off
!
!------------------------------------ base ------------------------------------!
!
!
defaults coordinate_system  &
   default_coordinate_system = .platform_isolator.ground
!
part create rigid_body name_and_position  &
   part_name = .platform_isolator.base  &
   adams_id = 3  &
   location = 0.0, 250.0, 0.0  &
   orientation = 0.0d, 180.0d, 0.0d
!
defaults coordinate_system  &
   default_coordinate_system = .platform_isolator.base
!
! ****** Markers for current part ******
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_11  &
   adams_id = 1  &
   location = -400.0, 100.0, 0.0  &
   orientation = 0.0d, 180.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_14  &
   adams_id = 14  &
   location = 25.0, 125.0, 0.0  &
   orientation = 0.0d, 180.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_21  &
   adams_id = 2  &
   location = -250.0, 150.0, 0.0  &
   orientation = 0.0d, 180.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_15  &
   adams_id = 15  &
   location = -250.0, 150.0, 0.0  &
   orientation = 0.0d, 180.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_51  &
   adams_id = 5  &
   location = 300.0, 150.0, 0.0  &
   orientation = 0.0d, 180.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_17  &
   adams_id = 17  &
   location = 300.0, 150.0, 0.0  &
   orientation = 0.0d, 180.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_1  &
   adams_id = 8  &
   location = -400.0, 150.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.cm  &
   adams_id = 9  &
   location = 25.0, 125.0, 0.0  &
   orientation = 90.0d, 90.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_2  &
   adams_id = 10  &
   location = -250.0, 100.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_3  &
   adams_id = 11  &
   location = -250.0, 100.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_5  &
   adams_id = 12  &
   location = 300.0, 100.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_6  &
   adams_id = 13  &
   location = 300.0, 100.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_25  &
   adams_id = 25  &
   location = -200.0, 100.0, 0.0  &
   orientation = 0.0d, 180.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.base.MARKER_33  &
   adams_id = 33  &
   location = 25.0, 125.0, 0.0  &
   orientation = 0.0d, 180.0d, 0.0d
!
part create rigid_body mass_properties  &
   part_name = .platform_isolator.base  &
   material_type = .platform_isolator.steel
!
! ****** Graphics for current part ******
!
geometry create shape block  &
   block_name = .platform_isolator.base.BOX_1  &
   adams_id = 10  &
   corner_marker = .platform_isolator.base.MARKER_1  &
   diag_corner_coords = 850.0, -50.0, 100.0
!
geometry create shape block  &
   block_name = .platform_isolator.base.BOX_11  &
   adams_id = 1  &
   corner_marker = .platform_isolator.base.MARKER_11  &
   diag_corner_coords = 850.0, -50.0, 100.0
!
geometry create shape csg  &
   csg_name = .platform_isolator.base.CSG_11  &
   adams_id = 11  &
   base_object = .platform_isolator.base.BOX_1  &
   object = .platform_isolator.base.BOX_11  &
   type = union
!
part attributes  &
   part_name = .platform_isolator.base  &
   color = RED  &
   name_visibility = off
!
!----------------------------------- PART_5 -----------------------------------!
!
!
defaults coordinate_system  &
   default_coordinate_system = .platform_isolator.ground
!
part create rigid_body name_and_position  &
   part_name = .platform_isolator.PART_5  &
   adams_id = 5  &
   location = 0.0, 0.0, 0.0  &
   orientation = 0.0d, 0.0d, 0.0d
!
defaults coordinate_system  &
   default_coordinate_system = .platform_isolator.PART_5
!
! ****** Markers for current part ******
!
marker create  &
   marker_name = .platform_isolator.PART_5.MARKER_28  &
   adams_id = 28  &
   location = -75.0, 300.0, 0.0  &
   orientation = 90.0d, 0.0d, 0.0d
!
marker create  &
   marker_name = .platform_isolator.PART_5.cm  &
   adams_id = 31  &
   location = -106.7655118404, 300.0, 20.0  &
   orientation = 180.0d, 90.0d, 90.0d
!
marker create  &
   marker_name = .platform_isolator.PART_5.MARKER_29  &
   adams_id = 29  &
   location = -75.0, 300.0, 40.0  &
   orientation = 90.0d, 180.0d, 0.0d
!
part create rigid_body mass_properties  &
   part_name = .platform_isolator.PART_5  &
   material_type = .platform_isolator.steel
!
! ****** Graphics for current part ******
!
geometry create shape cylinder  &
   cylinder_name = .platform_isolator.PART_5.CYLINDER_21  &
   adams_id = 21  &
   center_marker = .platform_isolator.PART_5.MARKER_28  &
   angle_extent = 180.0  &
   length = 40.0  &
   radius = 75.0  &
   side_count_for_body = 20  &
   segment_count_for_ends = 20
!
part attributes  &
   part_name = .platform_isolator.PART_5  &
   color = CYAN  &
   name_visibility = off
!
!----------------------------------- Joints -----------------------------------!
!
!
constraint create joint fixed  &
   joint_name = .platform_isolator.JOINT_1  &
   adams_id = 1  &
   i_marker_name = .platform_isolator.base.MARKER_25  &
   j_marker_name = .platform_isolator.washer.MARKER_26
!
constraint attributes  &
   constraint_name = .platform_isolator.JOINT_1  &
   name_visibility = off
!
constraint create joint revolute  &
   joint_name = .platform_isolator.JOINT_2  &
   adams_id = 2  &
   i_marker_name = .platform_isolator.PART_5.MARKER_29  &
   j_marker_name = .platform_isolator.washer.MARKER_30
!
constraint attributes  &
   constraint_name = .platform_isolator.JOINT_2  &
   name_visibility = off
!
!----------------------------------- Forces -----------------------------------!
!
!
force create element_like bushing  &
   bushing_name = .platform_isolator.bush_left  &
   adams_id = 1  &
   i_marker_name = .platform_isolator.base.MARKER_15  &
   j_marker_name = .platform_isolator.ground.MARKER_16  &
   damping = 6.6E-002, 6.6E-002, 6.6E-002  &
   stiffness = 5.0, 10.0, 5.0  &
   force_preload = 0.0, 0.0, 0.0  &
   tdamping = 73.3038285838, 73.3038285838, 73.3038285838  &
   tstiffness = 2960.705972839, 2960.705972839, 2960.705972839  &
   torque_preload = 0.0, 0.0, 0.0
!
force create element_like bushing  &
   bushing_name = .platform_isolator.bush_right  &
   adams_id = 2  &
   i_marker_name = .platform_isolator.base.MARKER_17  &
   j_marker_name = .platform_isolator.ground.MARKER_18  &
   damping = 6.6E-002, 6.6E-002, 6.6E-002  &
   stiffness = 0.27, 10.0, 0.27  &
   force_preload = 0.0, 0.0, 0.0  &
   tdamping = 73.3038285838, 73.3038285838, 73.3038285838  &
   tstiffness = 296.705972839, 296.705972839, 296.705972839  &
   torque_preload = 0.0, 0.0, 0.0
!
force create direct single_component_force  &
   single_component_force_name = .platform_isolator.damping_actuator  &
   adams_id = 1  &
   type_of_freedom = translational  &
   i_marker_name = .platform_isolator.base.MARKER_33  &
   j_marker_name = .platform_isolator.ground.MARKER_34  &
   action_only = off  &
   function = ""
!
!---------------------------------- Motions -----------------------------------!
!
!
constraint create motion_generator  &
   motion_name = .platform_isolator.load_driver_left  &
   adams_id = 1  &
   type_of_freedom = rotational  &
   joint_name = .platform_isolator.JOINT_2  &
   time_derivative = velocity  &
   function = ""
!
constraint attributes  &
   constraint_name = .platform_isolator.load_driver_left  &
   name_visibility = off
!
!----------------------------- Simulation Scripts -----------------------------!
!
!
simulation script create  &
   sim_script_name = .platform_isolator.Last_Sim  &
   commands =   &
              "simulation single_run scripted sim_script_name=.platform_isolator.run_it reset_before_and_after=yes model_name=.platform_isolator"
!
simulation script create  &
   sim_script_name = .platform_isolator.run_it  &
   solver_commands = "! Insert ACF commands here:", "sim/stat",  &
                     "sim/dyn, end=20, steps = 1000"
!
!
!-------------------------- Adams/View UDE Instances --------------------------!
!
!
defaults coordinate_system  &
   default_coordinate_system = .platform_isolator.ground
!
!
!------------------------------ Dynamic Graphics ------------------------------!
!
!
defaults coordinate_system  &
   default_coordinate_system = .platform_isolator.ground
!
geometry create shape force  &
   force_name = .platform_isolator.BUSHING_1_force_graphic_1  &
   adams_id = 12  &
   force_element_name = .platform_isolator.bush_left  &
   applied_at_marker_name = .platform_isolator.base.MARKER_15
!
geometry create shape force  &
   force_name = .platform_isolator.BUSHING_2_force_graphic_1  &
   adams_id = 13  &
   force_element_name = .platform_isolator.bush_right  &
   applied_at_marker_name = .platform_isolator.base.MARKER_17
!
geometry create shape force  &
   force_name = .platform_isolator.SFORCE_1_force_graphic_1  &
   adams_id = 22  &
   force_element_name = .platform_isolator.damping_actuator  &
   applied_at_marker_name = .platform_isolator.base.MARKER_33
!
geometry create shape spring_damper  &
   spring_damper_name = .platform_isolator.SPRING_DAMPER_14  &
   adams_id = 14  &
   i_marker_name = .platform_isolator.base.MARKER_21  &
   j_marker_name = .platform_isolator.ground.MARKER_19  &
   coil_count = 10  &
   diameter_of_spring = 120.0  &
   damper_diameter_at_ij = 0.0, 0.0  &
   tip_length_at_ij = 0.1, 0.1  &
   cup_length_at_ij = 0.2, 0.2
!
geometry create shape spring_damper  &
   spring_damper_name = .platform_isolator.SPRING_DAMPER_15  &
   adams_id = 15  &
   i_marker_name = .platform_isolator.base.MARKER_51  &
   j_marker_name = .platform_isolator.ground.MARKER_20  &
   coil_count = 10  &
   diameter_of_spring = 120.0  &
   damper_diameter_at_ij = 0.0, 0.0  &
   tip_length_at_ij = 0.1, 0.1  &
   cup_length_at_ij = 0.2, 0.2
!
!---------------------------------- Accgrav -----------------------------------!
!
!
force create body gravitational  &
   gravity_field_name = gravity  &
   x_component_gravity = 0.0  &
   y_component_gravity = -9806.65  &
   z_component_gravity = 0.0
!
!----------------------------- Analysis settings ------------------------------!
!
!
!---------------------------------- Measures ----------------------------------!
!
!
measure create object  &
   measure_name = .platform_isolator.base_acceleration  &
   from_first = yes  &
   object = .platform_isolator.base  &
   characteristic = cm_acceleration  &
   component = y_component
!
data_element attributes  &
   data_element_name = .platform_isolator.base_acceleration  &
   color = WHITE
!
!---------------------------- ADAMS/View Variables ----------------------------!
!
!
variable create  &
   variable_name = .platform_isolator.k_support  &
   units = "no_units"  &
   range = -10.0, 10.0  &
   use_allowed_values = no  &
   delta_type = percent_relative  &
   real_value = 10.0
!
variable create  &
   variable_name = .platform_isolator.damping_constant  &
   units = "damping"  &
   range = 0.0, 10.0  &
   use_allowed_values = no  &
   real_value = 0.0
!
variable create  &
   variable_name = .platform_isolator.final_angular_velocity  &
   units = "no_units"  &
   range = -1.0, 1.0  &
   use_allowed_values = no  &
   delta_type = relative  &
   real_value = 2.4555
!
variable create  &
   variable_name = .platform_isolator.DV_1  &
   units = "no_units"  &
   range = -1.0, 1.0  &
   use_allowed_values = no  &
   delta_type = relative  &
   real_value = 3.4258893385E+005
!
variable create  &
   variable_name = .platform_isolator.DV_2  &
   units = "no_units"  &
   range = -1.0, 1.0  &
   use_allowed_values = no  &
   delta_type = relative  &
   real_value = 3.4258893385E+005
!
variable create  &
   variable_name = .platform_isolator.step_time1  &
   units = "time"  &
   range = -1.0, 1.0  &
   use_allowed_values = no  &
   delta_type = relative  &
   real_value = 3.0
!
!
!--------------------- ADAMS/View Optimization Objective ----------------------!
!
!
!
!---------------------------- Function definitions ----------------------------!
!
!
constraint modify motion_generator  &
   motion_name = .platform_isolator.load_driver_left  &
   function = "step(time, 0, 0, .platform_isolator.step_time1, (.platform_isolator.final_angular_velocity)) * 2 * PI "
!
force modify direct single_component_force  &
   single_component_force_name = .platform_isolator.damping_actuator  &
   function = "-VR(.platform_isolator.base.cm, .platform_isolator.ground.MARKER_34) * step(time, 10, 0, 12, .platform_isolator.damping_constant)"
!
!--------------------------- Expression definitions ---------------------------!
!
!
defaults coordinate_system  &
   default_coordinate_system = ground
!
material modify  &
   material_name = .platform_isolator.steel  &
   youngs_modulus = (2.07E+011(Newton/meter**2))  &
   density = (7801.0(kg/meter**3))
!
geometry modify shape block  &
   block_name = .platform_isolator.washer.CSG_18.BOX_16  &
   diag_corner_coords =   &
      (250.0mm),  &
      (-200.0mm),  &
      (40.0mm)
!
geometry modify shape cylinder  &
   cylinder_name = .platform_isolator.washer.CSG_18.CYLINDER_17  &
   length = (450.0mm)  &
   radius = (80mm)
!
geometry modify shape block  &
   block_name = .platform_isolator.washer.BOX_19  &
   diag_corner_coords =   &
      (50.0mm),  &
      (-50.0mm),  &
      (100.0mm)
!
geometry modify shape block  &
   block_name = .platform_isolator.washer.BOX_20  &
   diag_corner_coords =   &
      (-50.0mm),  &
      (-50.0mm),  &
      (100.0mm)
!
geometry modify shape block  &
   block_name = .platform_isolator.base.CSG_11.BOX_1  &
   diag_corner_coords =   &
      (850.0mm),  &
      (-50.0mm),  &
      (100.0mm)
!
geometry modify shape block  &
   block_name = .platform_isolator.base.CSG_11.BOX_11  &
   diag_corner_coords =   &
      (850.0mm),  &
      (-50.0mm),  &
      (100.0mm)
!
geometry modify shape cylinder  &
   cylinder_name = .platform_isolator.PART_5.CYLINDER_21  &
   length = (40.0mm)  &
   radius = (75.0mm)
!
force modify element_like bushing  &
   bushing_name = .platform_isolator.bush_left  &
   damping =   &
      (6.6E-002(newton-sec/mm)),  &
      (6.6E-002(newton-sec/mm)),  &
      (6.6E-002(newton-sec/mm))  &
   stiffness =   &
      (5(newton/mm)),  &
      (.platform_isolator.k_support),  &
      (5(newton/mm))  &
   tdamping =   &
      (73.3038285838(newton-mm-sec/deg)),  &
      (73.3038285838(newton-mm-sec/deg)),  &
      (73.3038285838(newton-mm-sec/deg))  &
   tstiffness =   &
      (2960.705972839(newton-mm/deg)),  &
      (2960.705972839(newton-mm/deg)),  &
      (2960.705972839(newton-mm/deg))
!
force modify element_like bushing  &
   bushing_name = .platform_isolator.bush_right  &
   damping =   &
      (6.6E-002(newton-sec/mm)),  &
      (6.6E-002(newton-sec/mm)),  &
      (6.6E-002(newton-sec/mm))  &
   stiffness =   &
      (0.27(newton/mm)),  &
      (.platform_isolator.k_support),  &
      (0.27(newton/mm))  &
   tdamping =   &
      (73.3038285838(newton-mm-sec/deg)),  &
      (73.3038285838(newton-mm-sec/deg)),  &
      (73.3038285838(newton-mm-sec/deg))  &
   tstiffness =   &
      (296.705972839(newton-mm/deg)),  &
      (296.705972839(newton-mm/deg)),  &
      (296.705972839(newton-mm/deg))
!
geometry modify shape force  &
   force_name = .platform_isolator.BUSHING_1_force_graphic_1  &
   applied_at_marker_name = (.platform_isolator.bush_left.i)
!
geometry modify shape force  &
   force_name = .platform_isolator.BUSHING_2_force_graphic_1  &
   applied_at_marker_name = (.platform_isolator.bush_right.i)
!
geometry modify shape force  &
   force_name = .platform_isolator.SFORCE_1_force_graphic_1  &
   applied_at_marker_name = (.platform_isolator.damping_actuator.i)
!
variable modify  &
   variable_name = .platform_isolator.k_support  &
   real_value = (10(newton/mm))
!
model display  &
   model_name = platform_isolator
