diff --git a/Aircraft/Generic/JSBSim/Systems/airship-mooring.xml b/Aircraft/Generic/JSBSim/Systems/airship-mooring.xml new file mode 100644 index 000000000..a608fe647 --- /dev/null +++ b/Aircraft/Generic/JSBSim/Systems/airship-mooring.xml @@ -0,0 +1,319 @@ + + + + + + This system models a mast mooring system with a mooring cone connection + and a mooring wire. The mooring cone MUST be located at the aircraft's + visual reference point (VRP). + + Usage: + + Include the visual-reference-point-extensions system first. + + Define the following constant properties: + For the mooring cone connection: + mooring/mooring-spring-coeff-lbs_ft [lbs/ft] + mooring/mooring-damping-coeff-lbs_fps [lbs*sec/ft] + mooring/max-mooring-force-lbs [lbs] + + For the mooring wire: + mooring/wire-spring-coeff-lbs_ft [lbs/ft] + mooring/max-wire-force-lbs [lbs] + mooring/max-winch-speed-fps [ft/sec] + + For the mooring cone connection: + mooring/mooring-spring-coeff-lbs_ft + mooring/mooring-damping-coeff-lbs_fps + mooring/max-mooring-force-lbs + + Define the following external forces: + + + + { VRP } + + + 1.0 + 0.0 + 0.0 + + + + + { VRP } + + + 0.0 + 1.0 + 0.0 + + + + + { VRP } + + + 0.0 + 0.0 + 1.0 + + + + The following control the mooring operation: + mooring/wire-connected Connect the wire {0,1.0} + mooring/winch-speed-fps Winch speed [ft/sec] + mooring/initial-wire-length-ft [ft] + + Location of the mooring mast: + mooring/latitude-deg + mooring/longitude-deg + mooring/altitude-ft + + + + + + + mooring/wire-connected + mooring/winch-speed-fps + mooring/initial-wire-length-ft + + + mooring/latitude-deg + mooring/longitude-deg + mooring/altitude-ft + + + + + + + position/latitude-unit-distance-ft_deg + + mooring/latitude-deg + position/vrp-latitude-deg + + + + + + + + + position/longitude-unit-distance-ft_deg + + mooring/longitude-deg + position/vrp-longitude-deg + + + + + + + + + position/vrp-altitude-ft + mooring/altitude-ft + + + + + + + + + + mooring/latitude-diff-ft + 2.0 + + + mooring/longitude-diff-ft + 2.0 + + + mooring/altitude-diff-ft + 2.0 + + + 0.5 + + + + + + + + mooring/wire-connected GE 1.0 + mooring/total-distance-ft LE 5.0 + + + + + + + mooring/moored + mooring/mooring-spring-coeff-lbs_ft + mooring/total-distance-ft + + + + 0.0 + mooring/max-mooring-force-lbs + + + + + + + mooring/wire-connected GT 0.0 + + + + + + mooring/winch-speed-fps + 0.00 + 1.00 + 0.00 + mooring/winch-reset + + -mooring/initial-wire-length-ft + 0.0 + + + + + + + mooring/initial-wire-length-ft + mooring/wire-length-change-ft + + + + 0.0 + mooring/initial-wire-length-ft + + + + + + + mooring/wire-connected + mooring/wire-spring-coeff-lbs_ft + + + mooring/total-distance-ft + mooring/wire-length-ft + + 0.0 + + + + + 0.0 + mooring/max-wire-force-lbs + + + + + + + mooring/wire-force-lbs + mooring/mooring-force-lbs + + + + + + + + mooring/wire-connected + + + mooring/total-force-lbs + + mooring/latitude-diff-ft + mooring/total-distance-ft + + + + mooring/moored + mooring/mooring-damping-coeff-lbs_fps + velocities/vrp-v-north-fps + + + + + external_reactions/mooring-coupling-north/magnitude + + + + + + mooring/wire-connected + + + mooring/total-force-lbs + + mooring/longitude-diff-ft + mooring/total-distance-ft + + + + mooring/moored + mooring/mooring-damping-coeff-lbs_fps + velocities/vrp-v-east-fps + + + + + external_reactions/mooring-coupling-east/magnitude + + + + + + mooring/wire-connected + + + mooring/total-force-lbs + + mooring/altitude-diff-ft + mooring/total-distance-ft + + + + mooring/moored + mooring/mooring-damping-coeff-lbs_fps + velocities/vrp-v-down-fps + + + + + external_reactions/mooring-coupling-down/magnitude + + + + + diff --git a/Aircraft/Generic/JSBSim/Systems/visual-reference-point-extensions.xml b/Aircraft/Generic/JSBSim/Systems/visual-reference-point-extensions.xml new file mode 100644 index 000000000..f7ff7c0df --- /dev/null +++ b/Aircraft/Generic/JSBSim/Systems/visual-reference-point-extensions.xml @@ -0,0 +1,268 @@ + + + + + + + + + Altitude offset of the visual reference point w.r.t. the centre of gravity. + FIXME: Verify the roll dependence. + + + + + -0.083333333 + + metrics/visualrefpoint-x-in + inertia/cg-x-in + + + attitude/pitch-rad + + + + 0.083333333 + + metrics/visualrefpoint-z-in + inertia/cg-z-in + + + attitude/pitch-rad + + + + -0.083333333 + + metrics/visualrefpoint-y-in + inertia/cg-y-in + + + attitude/roll-rad + + + + + + + + + + Altitude of the visual reference point. + + + + position/h-sl-ft + position/vrp-cg-altitude-offset-ft + + + + + + + Distance between the visual reference point and the ground surface. + + + + position/h-agl-ft + position/vrp-cg-altitude-offset-ft + + + + + + + Latitude of the visual reference point. + + Based on the geocentric to geodetic conversion + vrp-latitude-deg = atan(tan(vrp-gc-latitude_deg)/(1-f)^2)) + where for WGS 84 f = 1.0/298.25722. + + + + 57.29578 + + + + + 0.017453293 + position/vrp-gc-latitude_deg + + + 1.0067395 + + + + + + + + + Longitude of the visual reference point. + + + position/vrp-longitude_deg + + + + + + Feet per degree of latitude at the present position. + + The conversion is based on + http://gis.stackexchange.com/questions/75528/length-of-a-degree-where-do-the-terms-in-this-formula-come-from + but further truncated. + + + + 3.2808399 + + + 111132.92 + + -559.82 + + + 2.0 + 0.017453293 + position/vrp-latitude-deg + + + + + + + + + + + Feet per degree of longitude at the present position. + + The conversion is based on + http://gis.stackexchange.com/questions/75528/length-of-a-degree-where-do-the-terms-in-this-formula-come-from + but further truncated. + + + + 3.2808399 + + + + 111412.84 + + + 0.017453293 + position/vrp-latitude-deg + + + + + -93.5 + + + 3.0 + 0.017453293 + position/vrp-latitude-deg + + + + + + + + + + + + + + + + + position/vrp-latitude-deg + 0.0 + 0.0 + 1.0 + + + + + The conversion from degrees of latitude per second to ft/sec is based on + http://gis.stackexchange.com/questions/75528/length-of-a-degree-where-do-the-terms-in-this-formula-come-from + but further truncated. + + + + position/latitude-unit-distance-ft_deg + velocities/vrp-v-north-deg_sec + + + + + + + + position/vrp-longitude-deg + 0.0 + 0.0 + 1.0 + + + + + The conversion from degrees of longitude per second to ft/sec is based on + http://gis.stackexchange.com/questions/75528/length-of-a-degree-where-do-the-terms-in-this-formula-come-from + but further truncated. + + + + position/longitude-unit-distance-ft_deg + velocities/vrp-v-east-deg_sec + + + + + + + + position/vrp-altitude-ft + 0.0 + 0.0 + -1.0 + + + + +