#------------------------------------------------------------------------------- # Copyright (c) 2011, BAE Systems. # Developed with the sponsorship of the Defense Advanced Research Projects Agency (DARPA). # # Permission is hereby granted, free of charge, to any person obtaining a copy of this data, # including any software or models in source or binary form, as well as any drawings, # specifications, and documentation (collectively "the Data"), to deal in the Data without restriction, # including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Data, and to permit persons to whom the Data is furnished to do so, # subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all copies or substantial # portions of the Data. # # THE DATA IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING # BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE # AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, SPONSORS, DEVELOPERS, CONTRIBUTORS, # OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # DATA OR THE USE OR OTHER DEALINGS IN THE DATA. #------------------------------------------------------------------------------- [ { "action" : "createNodes", "preConditions" : {}, "postConditions" : {} }, { "type" : "node", "WeightMarginOfRamp" : { "valueType" : "immediate", "REQUIREMENT_VALUE" : 100 } }, { "type" : "node", "ArmorThickness" : { "valueType" : "external", "className" : "com.bae.meta.amilextern.GenericExecutable", "executableName" : "ArmorMain", "parameterMap" : ["PenetratorMass", "PenetratorLength", "PenetratorDiameter", "PenetratorImpactVelocity", "PenetratorAngle", "ArmorConstant"], "parameterFormat" : "{1,number,#.##} {3,number,#.##} {5,number,#.##} {7,number,#.##} {9,number,#.##} {11,number,#.##}" } }, { "type" : "node", "CmlLinkTest" : { "valueType" : "cmllink", "className" : "com.bae.meta.dynamic.cml.Link", } }, { "type" : "node", "NoEngineProperties" : { "valueType" : "cml", "className" : "com.bae.meta.dynamic.cml.Maven", "cmlCoordinates" : ["com.bae.meta.cml.engines", "doesnotexist", "0.0.1", "xml", ""] } }, { "type" : "node", "EngineProperties" : { "valueType" : "cml", "className" : "com.bae.meta.dynamic.cml.Maven", "cmlCoordinates" : ["com.bae.meta.cml.engines", "engine1", "0.0.1", "xml", ""] } }, { "type" : "node", "RampHeight" : { "name" : "RampHeight", "valueType" : "immediate", "AMILValue" : 1.9, "units" : "m" } }, { "type" : "node", "RampWidth" : { "name" : "RampWidth", "valueType" : "immediate", "AMILValue" : 2.2, "units" : "m" } }, { "type" : "node", "ArmorConstant" : { "name" : "ArmorConstant", "valueType" : "immediate", "AMILValue" : 2300.0 } }, { "type" : "node", "PenetratorMass" : { "name" : "PenetratorMass", "valueType" : "immediate", "REQUIREMENT_VALUE" : 400.0, "units" : "g" } }, { "type" : "node", "PenetratorLength" : { "name" : "PenetratorLength", "valueType" : "immediate", "REQUIREMENT_VALUE" : 8.0, "units" : "cm" } }, { "type" : "node", "PenetratorDiameter" : { "name" : "PenetratorDiameter", "valueType" : "immediate", "REQUIREMENT_VALUE" : 3.0, "units" : "cm" } }, { "type" : "node", "PenetratorImpactVelocity" : { "name" : "PenetratorImpactVelocity", "valueType" : "immediate", "REQUIREMENT_VALUE" : 1100.0, "units" : "m/s" } }, { "type" : "node", "PenetratorAngle" : { "name" : "PenetratorAngle", "valueType" : "immediate", "REQUIREMENT_VALUE" : 0.0, "units" : "rad" } }, { "type" : "node", "LowFidelityRampMass" : { "valueType" : "external", "className" : "com.bae.meta.amilextern.GenericExecutable", "executableName" : "LowFidelityRampMassPropertiesModelMain", "parameterMap" : ["RampHeight", "RampWidth", "ArmorThickness", "ArmorConstant"], "parameterFormat" : "{1,number,#.##} {3,number,#.##} {5} {7,number,#.##}" } }, { "type" : "node", "MaxTimeHoldingPeakTorque" : { "valueType" : "external", "className" : "com.bae.meta.amilextern.GenericExecutable", "executableIsScript" : 1, "parameterMap" : ["Disturbance", "RampMass"], "parameterFormat" : "-RampMass {3,number,#.##} -ManTime {1}" # These two lines can be swapped, if s-rules.pro also gets its motor specs swapped. # Line above is for _3 models; line below, for the original. # "parameterFormat" : "-ManTime {1}" } }, { "type" : "node", "Electric Motor" : { "name" : "Generic electric motor", "type" : "Electric motor" } }, { "type" : "node", "rating_168" : { "DisplayName" : "168 rating", "type" : "Electric motor", "WeightRating" : 800, "WeightRatingUnits" : "kg", "Weight" : .5, "units" : "kg", "model" : "ramp_tester_168_4" } }, { "type" : "node", "rating_268" : { "DisplayName" : "268 rating", "type" : "Electric motor", "WeightRating" : 1400, "WeightRatingUnits" : "kg", # taa: This number is bad. Get something better. "Weight" : 1.0, "units" : "kg", "model" : "ramp_tester_268_4" } }, #Mobility Nodes #placeholder for system weight node { "type" : "node", "SystemWeight" : { "name" : "SystemWeight", "valueType" : "immediate", "AMILValue" :15000.0, "units" : "kg" } }, #placeholder engine connection { "type" : "node", "EngineTest" : { "name" : "EngineTest", "valueType" : "immediate", "EnginePower" :391492.433, "units" : "watts" } }, { "type" : "node", "MobilityModel" : { "valueType" : "external", "className" : "com.bae.meta.amilextern.GenericExecutable", "executableName" : "Mobility", "parameterMap" : ["SystemWeight", "EnginePower"], "parameterFormat" : "-Weight {1,number,#} -{2} {3, number,#}" } } # taa: Uncomment these when the appropriate Java classes have been defined. # Don't forget to add a comma at the end of the previous thing, and don't # forget to uncomment the links in arrow_demo_amillinks.txt. #{ # "type" : "node", # "HighFidelityRampMass" : # { # # "valueType" : "external", # "className" : "run-the-high-fidelity-mass-model" # # } #}, # #{ # "type" : "node", # "RampOpenTime" : # { # # "valueType" : "external", # "className" : "run-the-ramp-dynamics-model" # # } #} ]