Updates by vezza (#41)
* - wheels smoke - wet sprays - brakes temp (to be continued) - Bugfix (A320-100 fuel system ) * setup wingflexer system * Brakes temp improvements * Bug fix: CFM engine nacelle animation
This commit is contained in:
parent
e552acafdd
commit
3f333570a3
24 changed files with 978 additions and 816 deletions
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
|
@ -163,6 +163,14 @@
|
|||
</config>
|
||||
</view>
|
||||
|
||||
<systems>
|
||||
<wingflexer include="Systems/wingflexer-params.xml"/>
|
||||
<property-rule n="100">
|
||||
<name>wing flexer property rule</name>
|
||||
<path>Aircraft/Generic/wingflexer.xml</path>
|
||||
</property-rule>
|
||||
</systems>
|
||||
|
||||
<systems n="0">
|
||||
<autopilot n="0">
|
||||
<path>Aircraft/A320-family/Systems/fadec-cfm.xml</path>
|
||||
|
@ -171,7 +179,7 @@
|
|||
<path>Aircraft/A320-family/Systems/cfm56-sound.xml</path>
|
||||
</autopilot>
|
||||
</systems>
|
||||
|
||||
|
||||
</sim>
|
||||
|
||||
<limits>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSim.xsl"?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
@ -29,7 +29,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
<pitch> 2.2 </pitch>
|
||||
<yaw> 1 </yaw>
|
||||
</orient>
|
||||
<feed>4</feed>
|
||||
<feed>5</feed>
|
||||
<thruster file="direct">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
|
@ -55,7 +55,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
<pitch> 2.2 </pitch>
|
||||
<yaw> -1 </yaw>
|
||||
</orient>
|
||||
<feed>5</feed>
|
||||
<feed>6</feed>
|
||||
<thruster file="direct">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
|
@ -162,7 +162,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
|
||||
<system file="glass-effect1"/>
|
||||
<system file="a320-fcs"/>
|
||||
<system file="a320-100-fuel"/>
|
||||
<system file="a320-fuel"/>
|
||||
<system file="a320-fwc"/>
|
||||
<system file="a320-spoiler"/>
|
||||
<system file="a320-electrical"/>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
|
@ -163,6 +163,14 @@
|
|||
</config>
|
||||
</view>
|
||||
|
||||
<systems>
|
||||
<wingflexer include="Systems/wingflexer-params.xml"/>
|
||||
<property-rule n="100">
|
||||
<name>wing flexer property rule</name>
|
||||
<path>Aircraft/Generic/wingflexer.xml</path>
|
||||
</property-rule>
|
||||
</systems>
|
||||
|
||||
<systems n="0">
|
||||
<autopilot n="0">
|
||||
<path>Aircraft/A320-family/Systems/fadec-cfm.xml</path>
|
||||
|
@ -171,7 +179,7 @@
|
|||
<path>Aircraft/A320-family/Systems/cfm56-sound.xml</path>
|
||||
</autopilot>
|
||||
</systems>
|
||||
|
||||
|
||||
</sim>
|
||||
|
||||
<limits>
|
||||
|
|
|
@ -79,7 +79,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
<capacity unit="LBS"> 1523.00 </capacity>
|
||||
<contents unit="LBS"> 1523.00 </contents>
|
||||
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
|
||||
<priority>0</priority>
|
||||
<priority>1</priority>
|
||||
<density unit="LBS/GAL">6.71</density>
|
||||
<temperature>50</temperature>
|
||||
</tank>
|
||||
|
@ -92,7 +92,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
<capacity unit="LBS"> 12591.95 </capacity>
|
||||
<contents unit="LBS"> 6000.00 </contents>
|
||||
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
|
||||
<priority>0</priority>
|
||||
<priority>1</priority>
|
||||
<density unit="LBS/GAL">6.71</density>
|
||||
<temperature>50</temperature>
|
||||
</tank>
|
||||
|
@ -105,7 +105,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
<capacity unit="LBS"> 14623.00 </capacity>
|
||||
<contents unit="LBS"> 42 </contents>
|
||||
<unusable-volume unit="LTR"> 23.20 </unusable-volume>
|
||||
<priority>0</priority>
|
||||
<priority>1</priority>
|
||||
<density unit="LBS/GAL">6.71</density>
|
||||
<temperature>50</temperature>
|
||||
</tank>
|
||||
|
@ -118,7 +118,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
<capacity unit="LBS"> 12591.95 </capacity>
|
||||
<contents unit="LBS"> 6000.00 </contents>
|
||||
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
|
||||
<priority>0</priority>
|
||||
<priority>1</priority>
|
||||
<density unit="LBS/GAL">6.71</density>
|
||||
<temperature>50</temperature>
|
||||
</tank>
|
||||
|
@ -131,7 +131,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
<capacity unit="LBS"> 1523.00 </capacity>
|
||||
<contents unit="LBS"> 1523.00 </contents>
|
||||
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
|
||||
<priority>0</priority>
|
||||
<priority>1</priority>
|
||||
<density unit="LBS/GAL">6.71</density>
|
||||
<temperature>50</temperature>
|
||||
</tank>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
|
@ -163,6 +163,14 @@
|
|||
</config>
|
||||
</view>
|
||||
|
||||
<systems>
|
||||
<wingflexer include="Systems/wingflexer-params.xml"/>
|
||||
<property-rule n="100">
|
||||
<name>wing flexer property rule</name>
|
||||
<path>Aircraft/Generic/wingflexer.xml</path>
|
||||
</property-rule>
|
||||
</systems>
|
||||
|
||||
<systems n="0">
|
||||
<autopilot n="0">
|
||||
<path>Aircraft/A320-family/Systems/fadec-iae.xml</path>
|
||||
|
@ -171,7 +179,7 @@
|
|||
<path>Aircraft/A320-family/Systems/v2500-sound.xml</path>
|
||||
</autopilot>
|
||||
</systems>
|
||||
|
||||
|
||||
</sim>
|
||||
|
||||
<limits>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
|
@ -1825,6 +1825,8 @@
|
|||
<file>Aircraft/A320-family/Nasal/Systems/ADIRS/SwitchingPanel.nas</file>
|
||||
<file>Aircraft/A320-family/Nasal/Systems/fire.nas</file>
|
||||
<file>Aircraft/A320-family/Nasal/Systems/brakes.nas</file>
|
||||
<file>Aircraft/A320-family/Nasal/Systems/brakesystem.nas</file>
|
||||
<file>Aircraft/A320-family/Nasal/Systems/tyresmoke.nas</file>
|
||||
<file>Aircraft/A320-family/Nasal/Systems/ground_services.nas</file>
|
||||
<file>Aircraft/A320-family/Nasal/Systems/payload.nas</file>
|
||||
</systems>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
|
@ -163,6 +163,14 @@
|
|||
</config>
|
||||
</view>
|
||||
|
||||
<systems>
|
||||
<wingflexer include="Systems/wingflexer-params.xml"/>
|
||||
<property-rule n="100">
|
||||
<name>wing flexer property rule</name>
|
||||
<path>Aircraft/Generic/wingflexer.xml</path>
|
||||
</property-rule>
|
||||
</systems>
|
||||
|
||||
<systems n="0">
|
||||
<autopilot n="0">
|
||||
<path>Aircraft/A320-family/Systems/fadec-cfm.xml</path>
|
||||
|
@ -171,7 +179,7 @@
|
|||
<path>Aircraft/A320-family/Systems/leapx-sound.xml</path>
|
||||
</autopilot>
|
||||
</systems>
|
||||
|
||||
|
||||
</sim>
|
||||
|
||||
<limits>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
|
@ -163,6 +163,14 @@
|
|||
</config>
|
||||
</view>
|
||||
|
||||
<systems>
|
||||
<wingflexer include="Systems/wingflexer-params.xml"/>
|
||||
<property-rule n="100">
|
||||
<name>wing flexer property rule</name>
|
||||
<path>Aircraft/Generic/wingflexer.xml</path>
|
||||
</property-rule>
|
||||
</systems>
|
||||
|
||||
<systems n="0">
|
||||
<autopilot n="0"> <!-- Apparently PW PurePower uses N1, not EPR.... sooo I use CFM FADEC -->
|
||||
<path>Aircraft/A320-family/Systems/fadec-cfm.xml</path>
|
||||
|
@ -171,7 +179,7 @@
|
|||
<path>Aircraft/A320-family/Systems/leapx-sound.xml</path>
|
||||
</autopilot>
|
||||
</systems>
|
||||
|
||||
|
||||
</sim>
|
||||
|
||||
<limits>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
|
@ -308,6 +308,87 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- Tire smoke and spray effects -->
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-nose.xml</path>
|
||||
<name>tyre-smoke-n</name>
|
||||
<offsets>
|
||||
<x-m>7.83</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-port.xml</path>
|
||||
<name>tyre-smoke-p</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-stbd.xml</path>
|
||||
<name>tyre-smoke-s</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-nose.xml</path>
|
||||
<name>rain-splash-n</name>
|
||||
<offsets>
|
||||
<x-m>7.83</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-port.xml</path>
|
||||
<name>rain-splash-p</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-stbd.xml</path>
|
||||
<name>rain-splash-s</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/A320-family/Models/Effects/tire-smoke-left.xml</path>
|
||||
<name>tire-smoke-l</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/A320-family/Models/Effects/tire-smoke-right.xml</path>
|
||||
<name>tire-smoke-r</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- Other non-aircraft models -->
|
||||
<model>
|
||||
<name>Pushback</name>
|
||||
|
@ -319,6 +400,43 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
<!--Firetruck-->
|
||||
|
||||
<model>
|
||||
<name>Firetruck1</name>
|
||||
<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
|
||||
<offsets>
|
||||
<x-m>60.0</x-m>
|
||||
<y-m>10.0</y-m>
|
||||
<z-m>-4.4</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>Firetruck2</name>
|
||||
<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
|
||||
<offsets>
|
||||
<x-m>80.0</x-m>
|
||||
<y-m>-8.0</y-m>
|
||||
<z-m>-4.4</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Firetruck1</object-name>
|
||||
<object-name>Firetruck2</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<property>sim/animation/fire-services</property>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<value>40</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<!-- LIVERY SELECT -->
|
||||
<!-- Animation -->
|
||||
<animation>
|
||||
|
|
|
@ -338,6 +338,87 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- Tire smoke and spray effects -->
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-nose.xml</path>
|
||||
<name>tyre-smoke-n</name>
|
||||
<offsets>
|
||||
<x-m>7.83</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-port.xml</path>
|
||||
<name>tyre-smoke-p</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-stbd.xml</path>
|
||||
<name>tyre-smoke-s</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-nose.xml</path>
|
||||
<name>rain-splash-n</name>
|
||||
<offsets>
|
||||
<x-m>7.83</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-port.xml</path>
|
||||
<name>rain-splash-p</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-stbd.xml</path>
|
||||
<name>rain-splash-s</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/A320-family/Models/Effects/tire-smoke-left.xml</path>
|
||||
<name>tire-smoke-l</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/A320-family/Models/Effects/tire-smoke-right.xml</path>
|
||||
<name>tire-smoke-r</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- Other non-aircraft models -->
|
||||
<model>
|
||||
<name>Pushback</name>
|
||||
|
@ -349,6 +430,43 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
<!--Firetruck-->
|
||||
|
||||
<model>
|
||||
<name>Firetruck1</name>
|
||||
<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
|
||||
<offsets>
|
||||
<x-m>60.0</x-m>
|
||||
<y-m>10.0</y-m>
|
||||
<z-m>-4.4</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>Firetruck2</name>
|
||||
<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
|
||||
<offsets>
|
||||
<x-m>80.0</x-m>
|
||||
<y-m>-8.0</y-m>
|
||||
<z-m>-4.4</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Firetruck1</object-name>
|
||||
<object-name>Firetruck2</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<property>sim/animation/fire-services</property>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<value>40</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<!-- LIVERY SELECT -->
|
||||
<!-- Animation -->
|
||||
<animation>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
|
@ -115,6 +115,7 @@
|
|||
<x-m>32.2535728</x-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- Lights -->
|
||||
|
||||
<model>
|
||||
|
@ -336,7 +337,88 @@
|
|||
<z-m>-1.25</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
|
||||
<!-- Tire smoke and spray effects -->
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-nose.xml</path>
|
||||
<name>tyre-smoke-n</name>
|
||||
<offsets>
|
||||
<x-m>7.83</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-port.xml</path>
|
||||
<name>tyre-smoke-p</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-stbd.xml</path>
|
||||
<name>tyre-smoke-s</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-nose.xml</path>
|
||||
<name>rain-splash-n</name>
|
||||
<offsets>
|
||||
<x-m>7.83</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-port.xml</path>
|
||||
<name>rain-splash-p</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-stbd.xml</path>
|
||||
<name>rain-splash-s</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/A320-family/Models/Effects/tire-smoke-left.xml</path>
|
||||
<name>tire-smoke-l</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/A320-family/Models/Effects/tire-smoke-right.xml</path>
|
||||
<name>tire-smoke-r</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- Other non-aircraft models -->
|
||||
<model>
|
||||
<name>Pushback</name>
|
||||
|
@ -348,6 +430,43 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
<!--Firetruck-->
|
||||
|
||||
<model>
|
||||
<name>Firetruck1</name>
|
||||
<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
|
||||
<offsets>
|
||||
<x-m>60.0</x-m>
|
||||
<y-m>10.0</y-m>
|
||||
<z-m>-4.4</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>Firetruck2</name>
|
||||
<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
|
||||
<offsets>
|
||||
<x-m>80.0</x-m>
|
||||
<y-m>-8.0</y-m>
|
||||
<z-m>-4.4</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Firetruck1</object-name>
|
||||
<object-name>Firetruck2</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<property>sim/animation/fire-services</property>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<value>40</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<!-- LIVERY SELECT -->
|
||||
<!-- Animation -->
|
||||
<animation>
|
||||
|
|
|
@ -317,6 +317,87 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- Tire smoke and spray effects -->
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-nose.xml</path>
|
||||
<name>tyre-smoke-n</name>
|
||||
<offsets>
|
||||
<x-m>7.83</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-port.xml</path>
|
||||
<name>tyre-smoke-p</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-stbd.xml</path>
|
||||
<name>tyre-smoke-s</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-nose.xml</path>
|
||||
<name>rain-splash-n</name>
|
||||
<offsets>
|
||||
<x-m>7.83</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-port.xml</path>
|
||||
<name>rain-splash-p</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-stbd.xml</path>
|
||||
<name>rain-splash-s</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/A320-family/Models/Effects/tire-smoke-left.xml</path>
|
||||
<name>tire-smoke-l</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/A320-family/Models/Effects/tire-smoke-right.xml</path>
|
||||
<name>tire-smoke-r</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- Other non-aircraft models -->
|
||||
<model>
|
||||
<name>Pushback</name>
|
||||
|
@ -328,6 +409,43 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
<!--Firetruck-->
|
||||
|
||||
<model>
|
||||
<name>Firetruck1</name>
|
||||
<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
|
||||
<offsets>
|
||||
<x-m>60.0</x-m>
|
||||
<y-m>10.0</y-m>
|
||||
<z-m>-4.4</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>Firetruck2</name>
|
||||
<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
|
||||
<offsets>
|
||||
<x-m>80.0</x-m>
|
||||
<y-m>-8.0</y-m>
|
||||
<z-m>-4.4</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Firetruck1</object-name>
|
||||
<object-name>Firetruck2</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<property>sim/animation/fire-services</property>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<value>40</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<!-- LIVERY SELECT -->
|
||||
<!-- Animation -->
|
||||
<animation>
|
||||
|
@ -358,7 +476,6 @@
|
|||
</unload>
|
||||
</nasal>
|
||||
|
||||
|
||||
<!-- Ground Services -->
|
||||
<model>
|
||||
<name>ground_services</name>
|
||||
|
|
|
@ -317,6 +317,87 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- Tire smoke and spray effects -->
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-nose.xml</path>
|
||||
<name>tyre-smoke-n</name>
|
||||
<offsets>
|
||||
<x-m>7.83</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-port.xml</path>
|
||||
<name>tyre-smoke-p</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/tyre-smoke-stbd.xml</path>
|
||||
<name>tyre-smoke-s</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-nose.xml</path>
|
||||
<name>rain-splash-n</name>
|
||||
<offsets>
|
||||
<x-m>7.83</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-port.xml</path>
|
||||
<name>rain-splash-p</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/Generic/Effects/rain-stbd.xml</path>
|
||||
<name>rain-splash-s</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/A320-family/Models/Effects/tire-smoke-left.xml</path>
|
||||
<name>tire-smoke-l</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>-3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/A320-family/Models/Effects/tire-smoke-right.xml</path>
|
||||
<name>tire-smoke-r</name>
|
||||
<offsets>
|
||||
<x-m>20.3180764</x-m>
|
||||
<y-m>3.795</y-m>
|
||||
<z-m>-3.9669424</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- Other non-aircraft models -->
|
||||
<model>
|
||||
<name>Pushback</name>
|
||||
|
@ -328,6 +409,43 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
<!--Firetruck-->
|
||||
|
||||
<model>
|
||||
<name>Firetruck1</name>
|
||||
<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
|
||||
<offsets>
|
||||
<x-m>60.0</x-m>
|
||||
<y-m>10.0</y-m>
|
||||
<z-m>-4.4</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>Firetruck2</name>
|
||||
<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
|
||||
<offsets>
|
||||
<x-m>80.0</x-m>
|
||||
<y-m>-8.0</y-m>
|
||||
<z-m>-4.4</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Firetruck1</object-name>
|
||||
<object-name>Firetruck2</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<property>sim/animation/fire-services</property>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<value>40</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<!-- LIVERY SELECT -->
|
||||
<!-- Animation -->
|
||||
<animation>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
|
@ -17,8 +17,10 @@
|
|||
</offsets>
|
||||
|
||||
<condition>
|
||||
<property>gear/gear[1]/tyre-smoke</property>
|
||||
<value>1</value>
|
||||
<equals>
|
||||
<property>gear/Lbrake-smoke</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
||||
<attach>world</attach>
|
||||
|
@ -48,9 +50,9 @@
|
|||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<property>velocities/speed-down-fps</property>
|
||||
<factor>1</factor>
|
||||
<spread>50</spread>
|
||||
<property>gear/Lbrake-thermal-energy</property>
|
||||
<factor>20</factor>
|
||||
<spread>70</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
|
@ -110,4 +112,4 @@
|
|||
|
||||
</particlesystem>
|
||||
|
||||
</PropertyList>
|
||||
</PropertyList>
|
||||
|
|
|
@ -1,113 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>tyre-smoke-n</name>
|
||||
<texture>tiresmoke.png</texture>
|
||||
<emissive>false</emissive>
|
||||
<lighting>false</lighting>
|
||||
|
||||
<offsets>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</offsets>
|
||||
|
||||
<condition>
|
||||
<property>gear/gear[0]/tyre-smoke</property>
|
||||
<value>1</value>
|
||||
</condition>
|
||||
|
||||
<attach>world</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>45</theta-min-deg>
|
||||
<theta-max-deg>85</theta-max-deg>
|
||||
<phi-min-deg>-60</phi-min-deg>
|
||||
<phi-max-deg>60</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>50</value>
|
||||
<spread>5</spread>
|
||||
</speed-mps>
|
||||
<rotation-speed>
|
||||
<x-max-deg-sec>15</x-max-deg-sec>
|
||||
<x-min-deg-sec>-15</x-min-deg-sec>
|
||||
<y-max-deg-sec>15</y-max-deg-sec>
|
||||
<y-min-deg-sec>-15</y-min-deg-sec>
|
||||
<z-max-deg-sec>15</z-max-deg-sec>
|
||||
<z-min-deg-sec>-15</z-min-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<property>velocities/speed-down-fps</property>
|
||||
<factor>1</factor>
|
||||
<spread>50</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<value>0.8</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.8</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.8</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.5</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>1.5</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<value>0.7</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.7</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.7</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.005</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>10</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>1</value>
|
||||
</life-sec>
|
||||
<mass-kg>0.025</mass-kg>
|
||||
<radius-m>0.175</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity>false</gravity>
|
||||
<wind>true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
</PropertyList>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
|
@ -17,8 +17,10 @@
|
|||
</offsets>
|
||||
|
||||
<condition>
|
||||
<property>gear/gear[2]/tyre-smoke</property>
|
||||
<value>1</value>
|
||||
<equals>
|
||||
<property>gear/Rbrake-smoke</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
||||
<attach>world</attach>
|
||||
|
@ -48,9 +50,9 @@
|
|||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<property>velocities/speed-down-fps</property>
|
||||
<factor>1</factor>
|
||||
<spread>50</spread>
|
||||
<property>gear/Rbrake-thermal-energy</property>
|
||||
<factor>20</factor>
|
||||
<spread>70</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
|
@ -110,4 +112,4 @@
|
|||
|
||||
</particlesystem>
|
||||
|
||||
</PropertyList>
|
||||
</PropertyList>
|
||||
|
|
|
@ -1,122 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>tyre-smoke-l</name>
|
||||
<texture>tiresmoke.png</texture>
|
||||
<emissive>false</emissive>
|
||||
<lighting>false</lighting>
|
||||
|
||||
<offsets>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</offsets>
|
||||
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>environment/rain-norm</property>
|
||||
<value>0.2</value>
|
||||
</greater-than>
|
||||
<greater-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<value>60</value>
|
||||
</greater-than>
|
||||
<property>gear/gear[0]/wow</property>
|
||||
<value>1</value>
|
||||
</and>
|
||||
</condition>
|
||||
|
||||
<attach>world</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>45</theta-min-deg>
|
||||
<theta-max-deg>85</theta-max-deg>
|
||||
<phi-min-deg>-60</phi-min-deg>
|
||||
<phi-max-deg>60</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>50</value>
|
||||
<spread>5</spread>
|
||||
</speed-mps>
|
||||
<rotation-speed>
|
||||
<x-max-deg-sec>15</x-max-deg-sec>
|
||||
<x-min-deg-sec>-15</x-min-deg-sec>
|
||||
<y-max-deg-sec>15</y-max-deg-sec>
|
||||
<y-min-deg-sec>-15</y-min-deg-sec>
|
||||
<z-max-deg-sec>15</z-max-deg-sec>
|
||||
<z-min-deg-sec>-15</z-min-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>40</value>
|
||||
<spread>70</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<value>0.8</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.8</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.8</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.8</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>1.5</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<value>0.7</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.7</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.7</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.005</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>10</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>1</value>
|
||||
</life-sec>
|
||||
<mass-kg>0.001</mass-kg>
|
||||
<radius-m>0.25</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity>false</gravity>
|
||||
<wind>true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
</PropertyList>
|
|
@ -1,122 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<particlesystem>
|
||||
<name>tyre-smoke-l</name>
|
||||
<texture>tiresmoke.png</texture>
|
||||
<emissive>false</emissive>
|
||||
<lighting>false</lighting>
|
||||
|
||||
<offsets>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</offsets>
|
||||
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>environment/rain-norm</property>
|
||||
<value>0.2</value>
|
||||
</greater-than>
|
||||
<greater-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<value>60</value>
|
||||
</greater-than>>
|
||||
<property>gear/gear[1]/wow</property>
|
||||
<value>1</value>
|
||||
</and>
|
||||
</condition>
|
||||
|
||||
<attach>world</attach>
|
||||
|
||||
<placer>
|
||||
<type>point</type>
|
||||
</placer>
|
||||
|
||||
<shooter>
|
||||
<theta-min-deg>45</theta-min-deg>
|
||||
<theta-max-deg>85</theta-max-deg>
|
||||
<phi-min-deg>-60</phi-min-deg>
|
||||
<phi-max-deg>60</phi-max-deg>
|
||||
<speed-mps>
|
||||
<value>50</value>
|
||||
<spread>5</spread>
|
||||
</speed-mps>
|
||||
<rotation-speed>
|
||||
<x-max-deg-sec>15</x-max-deg-sec>
|
||||
<x-min-deg-sec>-15</x-min-deg-sec>
|
||||
<y-max-deg-sec>15</y-max-deg-sec>
|
||||
<y-min-deg-sec>-15</y-min-deg-sec>
|
||||
<z-max-deg-sec>15</z-max-deg-sec>
|
||||
<z-min-deg-sec>-15</z-min-deg-sec>
|
||||
</rotation-speed>
|
||||
</shooter>
|
||||
|
||||
<counter>
|
||||
<particles-per-sec>
|
||||
<value>40</value>
|
||||
<spread>70</spread>
|
||||
</particles-per-sec>
|
||||
</counter>
|
||||
|
||||
<align>billboard</align>
|
||||
|
||||
<particle>
|
||||
<start>
|
||||
<color>
|
||||
<red>
|
||||
<value>0.8</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.8</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.8</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.8</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>1.5</value>
|
||||
</size>
|
||||
</start>
|
||||
<end>
|
||||
<color>
|
||||
<red>
|
||||
<value>0.7</value>
|
||||
</red>
|
||||
<green>
|
||||
<value>0.7</value>
|
||||
</green>
|
||||
<blue>
|
||||
<value>0.7</value>
|
||||
</blue>
|
||||
<alpha>
|
||||
<value>0.005</value>
|
||||
</alpha>
|
||||
</color>
|
||||
<size>
|
||||
<value>10</value>
|
||||
</size>
|
||||
</end>
|
||||
<life-sec>
|
||||
<value>0.8</value>
|
||||
</life-sec>
|
||||
<mass-kg>0.0005</mass-kg>
|
||||
<radius-m>0.4</radius-m>
|
||||
</particle>
|
||||
|
||||
<program>
|
||||
<fluid>air</fluid>
|
||||
<gravity>false</gravity>
|
||||
<wind>true</wind>
|
||||
</program>
|
||||
|
||||
</particlesystem>
|
||||
|
||||
</PropertyList>
|
|
@ -6,6 +6,19 @@
|
|||
|
||||
<path>../Models/a320.nacelle.cfm.ac</path>
|
||||
|
||||
<!-- Reverse thrust animation -->
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Reverser</object-name>
|
||||
<property alias="../../params/reverser-pos-norm" />
|
||||
<factor>0.50</factor>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Chrome shader -->
|
||||
<animation>
|
||||
<name>Chrome shader</name>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#============================ Tyre Smoke ===================================
|
||||
aircraft.tyresmoke_system.new(0, 1, 2);
|
||||
|
||||
aircraft.rain.init();
|
||||
#============================ Tyre Smoke ===================================
|
||||
aircraft.tyresmoke_system.new(0, 1, 2);
|
||||
|
||||
aircraft.rain.init();
|
||||
|
|
215
Nasal/Systems/brakesystem.nas
Executable file
215
Nasal/Systems/brakesystem.nas
Executable file
|
@ -0,0 +1,215 @@
|
|||
##########################################################################
|
||||
# Simple Brake Simulation System
|
||||
# 2010, Thorsten Brehm
|
||||
#
|
||||
# Simple simulation of brake energy absorption and cooling effects.
|
||||
#
|
||||
# This module computes (approximates... :-) ) an energy level which
|
||||
# (faintly) resembles the kinetic energy absorption and cooling effects
|
||||
# of a brake system. But instead of computing real temperatures, this
|
||||
# is just meant to distinguish normal energy levels from exceptionally
|
||||
# high levels. The target is to drive EICAS "brakes overheat" messages
|
||||
# and gear effects only, to "reward" pilots with exceptionally bad
|
||||
# landings...
|
||||
#
|
||||
# To avoid complicated calculations of different braking effects (roll/air
|
||||
# drag, reverse thrust etc), we simply assume the brake system to cause a
|
||||
# fixed deceleration (me.BrakeDecel). With this deceleration we approximate
|
||||
# the speed difference which would be caused by the brake system alone for
|
||||
# any given simulation interval. The difference of the kinetic energy level
|
||||
# at the current speed and the decelerated speed are then added up to the
|
||||
# total absorbed brake energy.
|
||||
# Units (knots/lbs/Kg) do not matter much here. Eventually a magic scaling
|
||||
# divisor is used to scale the output level. Any output > 1 means
|
||||
# "overheated brakes", any level <=1 means "brake temperature OK".
|
||||
# No exact science here - but good enough for now :-).
|
||||
##########################################################################
|
||||
|
||||
var BrakeSystem =
|
||||
{
|
||||
new : func()
|
||||
{
|
||||
var m = { parents : [BrakeSystem]};
|
||||
# deceleration caused by brakes alone (knots/s2)
|
||||
m.BrakeDecel = 1.0; # kt/s^2
|
||||
#m.LBrakeDecel = getprop("systems/hydraulic/brakes/pressure-left-psi") / 1000 * getprop("controls/autobrake/decel-error"); # kt/s^2
|
||||
#m.RBrakeDecel = getprop("systems/hydraulic/brakes/pressure-right-psi") / 1000 * getprop("controls/autobrake/decel-error"); # kt/s^2
|
||||
# Higher value means quicker cooling
|
||||
m.CoolingFactor = 0.005;
|
||||
# Scaling divisor. Use this to scale the energy output.
|
||||
# Manually tune this value: a total energy output
|
||||
# at "/gear/brake-thermal-energy" > 1.0 means overheated brakes,
|
||||
# anything below <= 1.0 means energy absorbed by brakes is OK.
|
||||
#m.ScalingDivisor= 700000*450.0;
|
||||
m.ScalingDivisor= 1;
|
||||
|
||||
m.LSmokeActive = 0;
|
||||
m.LSmokeToggle = 0;
|
||||
m.RSmokeActive = 0;
|
||||
m.RSmokeToggle = 0;
|
||||
m.nCoolFactor = math.ln(1-m.CoolingFactor);
|
||||
|
||||
m.reset();
|
||||
|
||||
return m;
|
||||
},
|
||||
|
||||
reset : func()
|
||||
{
|
||||
# Initial thermal energy
|
||||
setprop("gear/Lbrake-thermal-energy",0.0);
|
||||
setprop("gear/Rbrake-thermal-energy",0.0);
|
||||
setprop("gear/Lbrake-smoke",0);
|
||||
setprop("gear/Rbrake-smoke",0);
|
||||
setprop("sim/animation/fire-services",0);
|
||||
me.LastSimTime = 0.0;
|
||||
},
|
||||
|
||||
# update brake energy
|
||||
update : func()
|
||||
{
|
||||
var CurrentTime = getprop("sim/time/elapsed-sec");
|
||||
var dt = CurrentTime - me.LastSimTime;
|
||||
|
||||
if (dt<1.0)
|
||||
{
|
||||
var OnGround = getprop("gear/gear[1]/wow");
|
||||
var LThermalEnergy = getprop("gear/Lbrake-thermal-energy");
|
||||
var RThermalEnergy = getprop("gear/Rbrake-thermal-energy");
|
||||
if (getprop("controls/gear/brake-parking"))
|
||||
{
|
||||
var LBrakeLevel=1.0;
|
||||
var RBrakeLevel=1.0;
|
||||
var BrakeLevel = (LBrakeLevel + RBrakeLevel)/2;
|
||||
}
|
||||
else
|
||||
var LBrakeLevel = getprop("fdm/jsbsim/fcs/left-brake-cmd-norm");
|
||||
var RBrakeLevel = getprop("fdm/jsbsim/fcs/right-brake-cmd-norm");
|
||||
var BrakeLevel = (LBrakeLevel + RBrakeLevel)/2;
|
||||
if ((OnGround)and(BrakeLevel>0))
|
||||
{
|
||||
# absorb more energy
|
||||
var V1 = getprop("velocities/groundspeed-kt");
|
||||
var Mass = getprop("fdm/jsbsim/inertia/weight-lbs")/(me.ScalingDivisor*200000000);
|
||||
# absorb some kinetic energy:
|
||||
# dE= 1/2 * m * V1^2 - 1/2 * m * V2^2)
|
||||
var V2_L = V1 - me.BrakeDecel*dt * LBrakeLevel;
|
||||
var V2_R = V1 - me.BrakeDecel*dt * RBrakeLevel;
|
||||
# do not absorb more energy when plane is (almost) stopped
|
||||
if (V2_L>0)
|
||||
LThermalEnergy += Mass * (V1*V1 - V2_L*V2_L)/2;
|
||||
if (V2_R>0)
|
||||
RThermalEnergy += Mass * (V1*V1 - V2_R*V2_R)/2;
|
||||
}
|
||||
|
||||
# cooling effect: reduce thermal energy by factor (1-m.CoolingFactor)^dt
|
||||
LThermalEnergy = LThermalEnergy * math.exp(me.nCoolFactor * dt);
|
||||
RThermalEnergy = RThermalEnergy * math.exp(me.nCoolFactor * dt);
|
||||
|
||||
setprop("gear/Lbrake-thermal-energy",LThermalEnergy);
|
||||
setprop("gear/Rbrake-thermal-energy",RThermalEnergy);
|
||||
|
||||
if ((LThermalEnergy>1)and(!me.LSmokeActive))
|
||||
{
|
||||
# start smoke processing
|
||||
me.LSmokeActive = 1;
|
||||
settimer(func { BrakeSys.Lsmoke(); },0);
|
||||
}
|
||||
if ((RThermalEnergy>1)and(!me.RSmokeActive))
|
||||
{
|
||||
# start smoke processing
|
||||
me.RSmokeActive = 1;
|
||||
settimer(func { BrakeSys.Rsmoke(); },0);
|
||||
}
|
||||
}
|
||||
|
||||
me.LastSimTime = CurrentTime;
|
||||
# 5 updates per second are good enough
|
||||
settimer(func { BrakeSys.update(); },0.2);
|
||||
},
|
||||
|
||||
# smoke processing
|
||||
Lsmoke : func()
|
||||
{
|
||||
if ((me.LSmokeActive)and(getprop("gear/Lbrake-thermal-energy")>1))
|
||||
{
|
||||
# make density of smoke effect depend on energy level
|
||||
var LSmokeDelay=0;
|
||||
var LThermalEnergy = getprop("gear/Lbrake-thermal-energy");
|
||||
if (LThermalEnergy < 1.5)
|
||||
LSmokeDelay=(1.5-LThermalEnergy);
|
||||
# No smoke when gear retracted
|
||||
var LSmokeValue = (getprop("gear/gear[1]/position-norm")>0.5);
|
||||
# toggle smoke to interpolate different densities
|
||||
if (LSmokeDelay>0.05)
|
||||
{
|
||||
me.LSmokeToggle = !me.LSmokeToggle;
|
||||
if (!me.LSmokeToggle)
|
||||
LSmokeValue = 0;
|
||||
else
|
||||
LSmokeDelay = 0;
|
||||
}
|
||||
setprop("gear/Lbrake-smoke",LSmokeValue);
|
||||
settimer(func { BrakeSys.Lsmoke(); },LSmokeDelay);
|
||||
}
|
||||
else
|
||||
{
|
||||
# stop smoke processing
|
||||
setprop("gear/Lbrake-smoke",0);
|
||||
setprop("sim/animation/fire-services",0);
|
||||
me.LSmokeActive = 0;
|
||||
}
|
||||
if (getprop("gear/Lbrake-thermal-energy") > 1.5)
|
||||
setprop("sim/animation/fire-services",1);
|
||||
else
|
||||
setprop("sim/animation/fire-services",0);
|
||||
},
|
||||
|
||||
# smoke processing
|
||||
Rsmoke : func()
|
||||
{
|
||||
if ((me.RSmokeActive)and(getprop("gear/Rbrake-thermal-energy")>1))
|
||||
{
|
||||
# make density of smoke effect depend on energy level
|
||||
var RSmokeDelay=0;
|
||||
var RThermalEnergy = getprop("gear/Rbrake-thermal-energy");
|
||||
if (RThermalEnergy < 1.5)
|
||||
RSmokeDelay=(1.5-RThermalEnergy);
|
||||
# No smoke when gear retracted
|
||||
var RSmokeValue = (getprop("gear/gear[2]/position-norm")>0.5);
|
||||
# toggle smoke to interpolate different densities
|
||||
if (RSmokeDelay>0.05)
|
||||
{
|
||||
me.RSmokeToggle = !me.RSmokeToggle;
|
||||
if (!me.RSmokeToggle)
|
||||
RSmokeValue = 0;
|
||||
else
|
||||
RSmokeDelay = 0;
|
||||
}
|
||||
setprop("gear/Rbrake-smoke",RSmokeValue);
|
||||
settimer(func { BrakeSys.Rsmoke(); },RSmokeDelay);
|
||||
}
|
||||
else
|
||||
{
|
||||
# stop smoke processing
|
||||
setprop("gear/Rbrake-smoke",0);
|
||||
me.RSmokeActive = 0;
|
||||
}
|
||||
if (getprop("gear/Rbrake-thermal-energy") > 1.5)
|
||||
setprop("sim/animation/fire-services",1);
|
||||
else
|
||||
setprop("sim/animation/fire-services",0);
|
||||
},
|
||||
};
|
||||
|
||||
var BrakeSys = BrakeSystem.new();
|
||||
|
||||
setlistener("sim/signals/fdm-initialized",
|
||||
# executed on _every_ FDM reset (but not installing new listeners)
|
||||
func(idle) { BrakeSys.reset(); },
|
||||
0,0);
|
||||
|
||||
settimer(func()
|
||||
{
|
||||
BrakeSys.update();
|
||||
}, 5);
|
55
Nasal/Systems/tyresmoke.nas
Executable file
55
Nasal/Systems/tyresmoke.nas
Executable file
|
@ -0,0 +1,55 @@
|
|||
# ==================================== timer stuff ===============================
|
||||
var run_tyresmoke0 = 0;
|
||||
var run_tyresmoke1 = 0;
|
||||
var run_tyresmoke2 = 0;
|
||||
var tyresmoke_0 = aircraft.tyresmoke.new(0, 0, 0.8, 0);
|
||||
var tyresmoke_1 = aircraft.tyresmoke.new(1, 0, 0.8, 0);
|
||||
var tyresmoke_2 = aircraft.tyresmoke.new(2, 0, 0.8, 0);
|
||||
|
||||
# =============================== listeners ===============================
|
||||
setlistener("gear/gear[0]/position-norm", func {
|
||||
var gear = getprop("gear/gear[0]/position-norm");
|
||||
if (gear == 1 ){
|
||||
run_tyresmoke0 = 1;
|
||||
}else{
|
||||
run_tyresmoke0 = 0;
|
||||
}
|
||||
},1,0);
|
||||
|
||||
setlistener("gear/gear[1]/position-norm", func {
|
||||
var gear = getprop("gear/gear[1]/position-norm");
|
||||
if (gear == 1 ){
|
||||
run_tyresmoke1 = 1;
|
||||
}else{
|
||||
run_tyresmoke1 = 0;
|
||||
}
|
||||
},1,0);
|
||||
|
||||
setlistener("gear/gear[2]/position-norm", func {
|
||||
var gear = getprop("gear/gear[2]/position-norm");
|
||||
if (gear == 1 ){
|
||||
run_tyresmoke2 = 1;
|
||||
}else{
|
||||
run_tyresmoke2 = 0;
|
||||
}
|
||||
},1,0);
|
||||
|
||||
#============================ Rain ===================================
|
||||
aircraft.rain.init();
|
||||
|
||||
#==================== Tyre Smoke / Rain Effects ======================
|
||||
var tyresmoke_and_rain = func {
|
||||
if (run_tyresmoke0)
|
||||
tyresmoke_0.update();
|
||||
if (run_tyresmoke1)
|
||||
tyresmoke_1.update();
|
||||
if (run_tyresmoke2)
|
||||
tyresmoke_2.update();
|
||||
aircraft.rain.update();
|
||||
settimer(tyresmoke_and_rain, 0);
|
||||
}# end tyresmoke_and_rain
|
||||
|
||||
# == fire it up ===
|
||||
tyresmoke_and_rain();
|
||||
|
||||
# end
|
|
@ -1,417 +0,0 @@
|
|||
<!-- Airbus A320 Fuel (-100) -->
|
||||
|
||||
<!-- Copyright (c) 2019 Jonathan Redpath -->
|
||||
|
||||
<system name="A320: Fuel:">
|
||||
|
||||
<channel name="Fuel Pumps and Valves">
|
||||
<!-- Pumps -->
|
||||
|
||||
<switch name="/systems/fuel/pumps/apu-operate">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/systems/fuel/pumps/all-eng-pump-off eq 1
|
||||
<test logic="OR">
|
||||
/systems/electrical/bus/ac-ess-shed ge 110
|
||||
/systems/electrical/bus/ac-si-bus ge 110
|
||||
</test>
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/pumps/wing-pump-left-1-operate">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/controls/fuel/switches/pump-left-1 eq 1
|
||||
<test logic="OR">
|
||||
<test logic="AND">
|
||||
/systems/electrical/sources/idg-1/pmg-volt ge 110
|
||||
/controls/electrical/switches/gen-1-line-contactor eq 1
|
||||
</test>
|
||||
/systems/electrical/bus/ac-1 ge 110
|
||||
</test>
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/pumps/wing-pump-left-2-operate">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/controls/fuel/switches/pump-left-2 eq 1
|
||||
/systems/electrical/bus/ac-2 ge 110
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/pumps/wing-pump-right-1-operate">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/controls/fuel/switches/pump-right-1 eq 1
|
||||
<test logic="OR">
|
||||
<test logic="AND">
|
||||
/systems/electrical/sources/idg-1/pmg-volt ge 110
|
||||
/controls/electrical/switches/gen-1-line-contactor eq 1
|
||||
</test>
|
||||
/systems/electrical/bus/ac-1 ge 110
|
||||
</test>
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/pumps/wing-pump-right-2-operate">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/controls/fuel/switches/pump-right-2 eq 1
|
||||
/systems/electrical/bus/ac-2 ge 110
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/left-inner-full">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/systems/fuel/left-inner-full eq 1
|
||||
propulsion/tank[1]/contents-lbs lt 11420
|
||||
propulsion/tank[1]/contents-lbs ge 10300
|
||||
</test>
|
||||
<test value="1">
|
||||
propulsion/tank[1]/contents-lbs eq 11420
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/right-inner-full">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/systems/fuel/right-inner-full eq 1
|
||||
propulsion/tank[2]/contents-lbs lt 11420
|
||||
propulsion/tank[2]/contents-lbs ge 10300
|
||||
</test>
|
||||
<test value="1">
|
||||
propulsion/tank[2]/contents-lbs eq 11420
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/pumps/all-eng-pump-off">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/systems/fuel/pumps/wing-pump-left-1-operate eq 0
|
||||
/systems/fuel/pumps/wing-pump-left-2-operate eq 0
|
||||
/systems/fuel/pumps/wing-pump-right-1-operate eq 0
|
||||
/systems/fuel/pumps/wing-pump-right-2-operate eq 0
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/quantity/left-wing-inner-low">
|
||||
<default value="0"/>
|
||||
<test value="1">
|
||||
propulsion/tank[1]/contents-lbs le 1650
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/quantity/right-wing-inner-low">
|
||||
<default value="0"/>
|
||||
<test value="1">
|
||||
propulsion/tank[2]/contents-lbs le 1650
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<!-- Valves -->
|
||||
<switch name="/systems/fuel/valves/outer-inner-transfer-valve-1-cmd">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/systems/fuel/valves/outer-inner-transfer-valve-1-cmd eq 1
|
||||
/systems/fuel/refuel/refuelling eq 0
|
||||
</test>
|
||||
<test value="1">
|
||||
/systems/fuel/quantity/left-wing-inner-low eq 1
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/valves/outer-inner-transfer-valve-1-power">
|
||||
<default value="0"/>
|
||||
<test value="0.333">
|
||||
/systems/electrical/bus/dc-ess-shed ge 25
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<actuator name="/systems/fuel/valves/outer-inner-transfer-valve-1">
|
||||
<input>/systems/fuel/valves/outer-inner-transfer-valve-1-cmd</input>
|
||||
<rate_limit>/systems/fuel/valves/outer-inner-transfer-valve-1-power</rate_limit>
|
||||
</actuator>
|
||||
|
||||
<switch name="/systems/fuel/valves/outer-inner-transfer-valve-2-cmd">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/systems/fuel/valves/outer-inner-transfer-valve-2-cmd eq 1
|
||||
/systems/fuel/refuel/refuelling eq 0
|
||||
</test>
|
||||
<test value="1">
|
||||
/systems/fuel/quantity/right-wing-inner-low eq 1
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/valves/outer-inner-transfer-valve-2-power">
|
||||
<default value="0"/>
|
||||
<test value="0.333">
|
||||
/systems/electrical/bus/dc-ess-shed ge 25
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<actuator name="/systems/fuel/valves/outer-inner-transfer-valve-2">
|
||||
<input>/systems/fuel/valves/outer-inner-transfer-valve-2-cmd</input>
|
||||
<rate_limit>/systems/fuel/valves/outer-inner-transfer-valve-2-power</rate_limit>
|
||||
</actuator>
|
||||
|
||||
<!-- XFeed Valve -->
|
||||
<switch name="/systems/fuel/valves/crossfeed-valve-cmd">
|
||||
<default value="0"/>
|
||||
<test value="1">
|
||||
/controls/fuel/switches/crossfeed eq 1
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/valves/crossfeed-valve-power">
|
||||
<default value="0"/>
|
||||
<test logic="OR" value="0.5">
|
||||
/systems/electrical/bus/dc-2 ge 25
|
||||
/systems/electrical/bus/dc-ess-shed ge 25
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<actuator name="/systems/fuel/valves/crossfeed-valve">
|
||||
<input>/systems/fuel/valves/crossfeed-valve-cmd</input>
|
||||
<rate_limit>/systems/fuel/valves/crossfeed-valve-power</rate_limit>
|
||||
</actuator>
|
||||
|
||||
<!-- Engine LP Valves -->
|
||||
<switch name="/systems/fuel/valves/engine-1-lp-valve-cmd">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/controls/engines/engine[0]/fire-btn eq 0
|
||||
/controls/engines/engine[0]/cutoff-switch eq 0
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/valves/engine-1-lp-valve-power">
|
||||
<default value="0"/>
|
||||
<test logic="OR" value="1.0">
|
||||
/systems/electrical/bus/dc-ess-shed ge 25
|
||||
/systems/electrical/bus/dc-2 ge 25
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<actuator name="/systems/fuel/valves/engine-1-lp-valve">
|
||||
<input>/systems/fuel/valves/engine-1-lp-valve-cmd</input>
|
||||
<rate_limit>/systems/fuel/valves/engine-1-lp-valve-power</rate_limit>
|
||||
</actuator>
|
||||
|
||||
<switch name="/systems/fuel/valves/engine-2-lp-valve-cmd">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/controls/engines/engine[1]/fire-btn eq 0
|
||||
/controls/engines/engine[1]/cutoff-switch eq 0
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/valves/engine-2-lp-valve-power">
|
||||
<default value="0"/>
|
||||
<test logic="OR" value="1.0">
|
||||
/systems/electrical/bus/dc-ess-shed ge 25
|
||||
/systems/electrical/bus/dc-2 ge 25
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<actuator name="/systems/fuel/valves/engine-2-lp-valve">
|
||||
<input>/systems/fuel/valves/engine-2-lp-valve-cmd</input>
|
||||
<rate_limit>/systems/fuel/valves/engine-2-lp-valve-power</rate_limit>
|
||||
</actuator>
|
||||
|
||||
<switch name="/systems/fuel/valves/apu-lp-valve-cmd">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="1">
|
||||
/controls/APU/master eq 1
|
||||
/controls/APU/fire-btn eq 0
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/valves/apu-lp-valve-power">
|
||||
<default value="0"/>
|
||||
<test logic="OR" value="1.0">
|
||||
/systems/electrical/bus/dc-bat ge 25
|
||||
/systems/electrical/bus/dc-hot-1 ge 25
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<actuator name="/systems/fuel/valves/apu-lp-valve">
|
||||
<input>/systems/fuel/valves/apu-lp-valve-cmd</input>
|
||||
<rate_limit>/systems/fuel/valves/apu-lp-valve-power</rate_limit>
|
||||
</actuator>
|
||||
|
||||
<!-- Pump PSI -->
|
||||
|
||||
<pure_gain name="/systems/fuel/pumps/apu-psi-cmd">
|
||||
<input>/systems/fuel/pumps/apu-operate</input>
|
||||
<gain>25.3</gain> <!-- 9600 lb/h (guess) -->
|
||||
</pure_gain>
|
||||
|
||||
<actuator name="/systems/fuel/pumps/apu-psi">
|
||||
<input>/systems/fuel/pumps/apu-psi-cmd</input>
|
||||
<rate_limit sense="incr">5</rate_limit>
|
||||
<rate_limit sense="decr">10</rate_limit>
|
||||
</actuator>
|
||||
|
||||
<pure_gain name="/systems/fuel/pumps/wing-pump-left-1-psi-cmd">
|
||||
<input>/systems/fuel/pumps/wing-pump-left-1-operate</input>
|
||||
<gain>25.3</gain> <!-- 9600 lb/h (guess) -->
|
||||
</pure_gain>
|
||||
|
||||
<actuator name="/systems/fuel/pumps/wing-pump-left-1-psi">
|
||||
<input>/systems/fuel/pumps/wing-pump-left-1-psi-cmd</input>
|
||||
<rate_limit sense="incr">5</rate_limit>
|
||||
<rate_limit sense="decr">10</rate_limit>
|
||||
</actuator>
|
||||
|
||||
<pure_gain name="/systems/fuel/pumps/wing-pump-left-2-psi-cmd">
|
||||
<input>/systems/fuel/pumps/wing-pump-left-2-operate</input>
|
||||
<gain>25.3</gain> <!-- 9600 lb/h (guess) -->
|
||||
</pure_gain>
|
||||
|
||||
<actuator name="/systems/fuel/pumps/wing-pump-left-2-psi">
|
||||
<input>/systems/fuel/pumps/wing-pump-left-2-psi-cmd</input>
|
||||
<rate_limit sense="incr">5</rate_limit>
|
||||
<rate_limit sense="decr">10</rate_limit>
|
||||
</actuator>
|
||||
|
||||
<pure_gain name="/systems/fuel/pumps/wing-pump-right-1-psi-cmd">
|
||||
<input>/systems/fuel/pumps/wing-pump-right-1-operate</input>
|
||||
<gain>25.3</gain> <!-- 9600 lb/h (guess) -->
|
||||
</pure_gain>
|
||||
|
||||
<actuator name="/systems/fuel/pumps/wing-pump-right-1-psi">
|
||||
<input>/systems/fuel/pumps/wing-pump-right-1-psi-cmd</input>
|
||||
<rate_limit sense="incr">5</rate_limit>
|
||||
<rate_limit sense="decr">10</rate_limit>
|
||||
</actuator>
|
||||
|
||||
<pure_gain name="/systems/fuel/pumps/wing-pump-right-2-psi-cmd">
|
||||
<input>/systems/fuel/pumps/wing-pump-right-2-operate</input>
|
||||
<gain>25.3</gain> <!-- 9600 lb/h (guess) -->
|
||||
</pure_gain>
|
||||
|
||||
<actuator name="/systems/fuel/pumps/wing-pump-right-2-psi">
|
||||
<input>/systems/fuel/pumps/wing-pump-right-2-psi-cmd</input>
|
||||
<rate_limit sense="incr">5</rate_limit>
|
||||
<rate_limit sense="decr">10</rate_limit>
|
||||
</actuator>
|
||||
</channel>
|
||||
|
||||
<channel name="Flow Rates">
|
||||
|
||||
<switch name="/systems/fuel/feed-left-inner">
|
||||
<default value="0"/>
|
||||
<test logic="OR" value="1">
|
||||
/systems/fuel/pumps/wing-pump-left-1-operate eq 1
|
||||
/systems/fuel/pumps/wing-pump-left-2-operate eq 1
|
||||
</test>
|
||||
<test logic="AND" value="1"> <!-- Suction/Gravity feed if G is not to far below 1 -->
|
||||
/accelerations/pilot-gdamped ge 0.5
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/feed-right-inner">
|
||||
<default value="0"/>
|
||||
<test logic="OR" value="1">
|
||||
/systems/fuel/pumps/wing-pump-right-1-operate eq 1
|
||||
/systems/fuel/pumps/wing-pump-right-2-operate eq 1
|
||||
</test>
|
||||
<test logic="AND" value="1"> <!-- Suction/Gravity feed if G is not to far below 1 -->
|
||||
/accelerations/pilot-gdamped ge 0.5
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/internal/left-wing-tank-eng-1">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="9">
|
||||
/systems/fuel/feed-left-inner eq 1
|
||||
propulsion/tank[1]/contents-lbs gt 31.24
|
||||
propulsion/tank[4]/contents-lbs lt 9
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/internal/right-wing-tank-eng-1">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="9">
|
||||
/systems/fuel/valves/crossfeed-valve eq 1
|
||||
propulsion/tank[2]/contents-lbs gt 31.24
|
||||
propulsion/tank[4]/contents-lbs lt 9
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/internal/left-wing-tank-eng-2">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="9">
|
||||
/systems/fuel/valves/crossfeed-valve eq 1
|
||||
/systems/fuel/feed-left-inner eq 1
|
||||
propulsion/tank[1]/contents-lbs gt 31.24
|
||||
propulsion/tank[5]/contents-lbs lt 9
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/internal/right-wing-tank-eng-2">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="9">
|
||||
/systems/fuel/feed-right-inner eq 1
|
||||
propulsion/tank[2]/contents-lbs gt 31.24
|
||||
propulsion/tank[5]/contents-lbs lt 9
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/internal/left-wing-outer-to-inner-tank">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="9">
|
||||
/systems/fuel/valves/outer-inner-transfer-valve-1 eq 1
|
||||
/accelerations/pilot-gdamped ge 0.5
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/internal/right-wing-outer-to-inner-tank">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="9">
|
||||
/systems/fuel/valves/outer-inner-transfer-valve-2 eq 1
|
||||
/accelerations/pilot-gdamped ge 0.5
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<summer name="/systems/fuel/internal/left-outer-flow-rate">
|
||||
<input>-/systems/fuel/internal/left-wing-outer-to-inner-tank</input>
|
||||
<output>propulsion/tank[0]/external-flow-rate-pps</output>
|
||||
</summer>
|
||||
|
||||
<summer name="/systems/fuel/internal/left-inner-flow-rate">
|
||||
<input>/systems/fuel/internal/left-wing-outer-to-inner-tank</input>
|
||||
<input>-/systems/fuel/internal/left-wing-tank-eng-1</input>
|
||||
<input>-/systems/fuel/internal/left-wing-tank-eng-2</input>
|
||||
<output>propulsion/tank[1]/external-flow-rate-pps</output>
|
||||
</summer>
|
||||
|
||||
<summer name="/systems/fuel/internal/right-inner-flow-rate">
|
||||
<input>/systems/fuel/internal/right-wing-outer-to-inner-tank</input>
|
||||
<input>-/systems/fuel/internal/right-wing-tank-eng-1</input>
|
||||
<input>-/systems/fuel/internal/right-wing-tank-eng-2</input>
|
||||
<output>propulsion/tank[2]/external-flow-rate-pps</output>
|
||||
</summer>
|
||||
|
||||
<summer name="/systems/fuel/internal/right-outer-flow-rate">
|
||||
<input>-/systems/fuel/internal/right-wing-outer-to-inner-tank</input>
|
||||
<output>propulsion/tank[3]/external-flow-rate-pps</output>
|
||||
</summer>
|
||||
|
||||
<summer name="/systems/fuel/internal/eng-1-flow-rate">
|
||||
<input>/systems/fuel/internal/left-wing-tank-eng-1</input>
|
||||
<input>/systems/fuel/internal/right-wing-tank-eng-1</input>
|
||||
<output>propulsion/tank[4]/external-flow-rate-pps</output>
|
||||
</summer>
|
||||
|
||||
<summer name="/systems/fuel/internal/eng-2-flow-rate">
|
||||
<input>/systems/fuel/internal/left-wing-tank-eng-2</input>
|
||||
<input>/systems/fuel/internal/right-wing-tank-eng-2</input>
|
||||
<output>propulsion/tank[5]/external-flow-rate-pps</output>
|
||||
</summer>
|
||||
</channel>
|
||||
|
||||
</system>
|
17
Systems/wingflexer-params.xml
Normal file
17
Systems/wingflexer-params.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<params>
|
||||
<m-wing-dry-kg type="double">12000</m-wing-dry-kg>
|
||||
<K type="double">259</K>
|
||||
<D type="double">12</D>
|
||||
<fuel-frac type="double">0.375</fuel-frac>
|
||||
<lift-node-lbs alias="/fdm/jsbsim/forces/fbz-aero-lbs"/>
|
||||
<fuel-node-1-kg alias="/consumables/fuel/tank/level-kg"/>
|
||||
<fuel-node-2-kg alias="/consumables/fuel/tank[1]/level-kg"/>
|
||||
<fuel-node-3-kg type="double">0</fuel-node-3-kg>
|
||||
<fuel-node-4-kg type="double">0</fuel-node-4-kg>
|
||||
</params>
|
||||
|
||||
</PropertyList>
|
Loading…
Reference in a new issue