1
0
Fork 0

System: Further refinements and integrations to engine cfm

This commit is contained in:
Josh Davidson 2021-02-07 20:17:26 -05:00
parent 4466f8b701
commit 83b6127405
2 changed files with 26 additions and 31 deletions

View file

@ -6,6 +6,7 @@
<system name="A320: CFM56 Engine"> <system name="A320: CFM56 Engine">
<property value="45">fadec/limit/rated-temp</property> <property value="45">fadec/limit/rated-temp</property>
<property value="30">fadec/limit/flex-rated-temp</property>
<property value="27000">fadec/limit/rated-thrust</property> <property value="27000">fadec/limit/rated-thrust</property>
<channel name="Thrust Limits"> <channel name="Thrust Limits">
@ -162,7 +163,7 @@
</fcs_function> </fcs_function>
<summer name="fadec/limit/flex-temp-input"> <!-- (Rated - Flex) + TAT --> <summer name="fadec/limit/flex-temp-input"> <!-- (Rated - Flex) + TAT -->
<input>fadec/limit/rated-temp</input> <input>fadec/limit/flex-rated-temp</input> <!-- Fix the calculations -->
<input>-/FMGC/internal/flex</input> <input>-/FMGC/internal/flex</input>
<input>propulsion/tat-c</input> <input>propulsion/tat-c</input>
</summer> </summer>
@ -173,7 +174,7 @@
<property>fadec/limit/toga-ref</property> <property>fadec/limit/toga-ref</property>
<table> <!-- TODO: Figure out how to integrate FCOM table with this one --> <table> <!-- TODO: Figure out how to integrate FCOM table with this one -->
<independentVar lookup="row">/position/altitude-ft</independentVar> <independentVar lookup="row">/position/altitude-ft</independentVar>
<independentVar lookup="column">propulsion/tat-c</independentVar> <independentVar lookup="column">fadec/limit/flex-temp-input</independentVar>
<tableData> <tableData>
-45 -15 15 45 75 -45 -15 15 45 75
0 79.5 84.6 89.2 93.8 89.1 0 79.5 84.6 89.2 93.8 89.1
@ -185,6 +186,23 @@
</function> </function>
</fcs_function> </fcs_function>
<fcs_function name="fadec/limit/flex">
<function>
<quotient>
<integer>
<sum>
<product>
<property>fadec/limit/flex-ref</property>
<value>10</value>
</product>
<value>0.5</value> <!-- Make it round correctly -->
</sum>
</integer>
<value>10</value>
</quotient>
</function>
</fcs_function>
<!-- <!--
TODO: need to figure out how to make MCT work, 24370lbs TODO: need to figure out how to make MCT work, 24370lbs
<switch name="fadec/limit/mct-final-ref"> <switch name="fadec/limit/mct-final-ref">

View file

@ -14,10 +14,9 @@
<input> <input>
<expression> <expression>
<table> <table>
<property>/environment/temperature-degc</property> <property>/fdm/jsbsim/fadec/limit/toga</property>
<entry><ind> 70</ind><dep>0.788</dep></entry> <entry><ind> 18.9</ind><dep>0</dep></entry>
<entry><ind> 40</ind><dep>0.813</dep></entry> <entry><ind>104.0</ind><dep>1</dep></entry>
<entry><ind>-60</ind><dep>1.000</dep></entry>
</table> </table>
</expression> </expression>
</input> </input>
@ -32,7 +31,7 @@
<input> <input>
<expression> <expression>
<table> <table>
<property>/FMGC/internal/flex</property> <property>/fdm/jsbsim/fadec/limit/flex</property>
<entry><ind> 70</ind><dep>0.788</dep></entry> <entry><ind> 70</ind><dep>0.788</dep></entry>
<entry><ind> 40</ind><dep>0.813</dep></entry> <entry><ind> 40</ind><dep>0.813</dep></entry>
<entry><ind>-60</ind><dep>1.000</dep></entry> <entry><ind>-60</ind><dep>1.000</dep></entry>
@ -1058,18 +1057,7 @@
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<update-interval-secs>0.05</update-interval-secs> <update-interval-secs>0.05</update-interval-secs>
<input> <input>/fdm/jsbsim/fadec/limit/toga</input>
<expression>
<table>
<product>
<value>0.99</value>
<property>/controls/engines/throttle-scale</property>
</product>
<entry><ind>0.00</ind><dep> 18.9</dep></entry>
<entry><ind>1.00</ind><dep>103.8</dep></entry>
</table>
</expression>
</input>
<output>/systems/thrust/n1/toga-lim</output> <output>/systems/thrust/n1/toga-lim</output>
</filter> </filter>
@ -1098,18 +1086,7 @@
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<update-interval-secs>0.05</update-interval-secs> <update-interval-secs>0.05</update-interval-secs>
<input> <input>/fdm/jsbsim/fadec/limit/flex</input>
<expression>
<table>
<product>
<value>0.99</value>
<property>/engines/flx-throttle</property>
</product>
<entry><ind>0.00</ind><dep> 18.9</dep></entry>
<entry><ind>1.00</ind><dep>103.8</dep></entry>
</table>
</expression>
</input>
<output>/systems/thrust/n1/flx-lim</output> <output>/systems/thrust/n1/flx-lim</output>
</filter> </filter>