Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi every body ,
- I was trying to post a new thread to the "Board index ‹ FlightGear ‹ Development ‹ Aircraft ‹ Systems" at least 5 times
- with no luck !
- I don't know that's due to a recent forum scripts modification or there is a software bug the raw contents of the post was
- [code]
- Hi all FG'ers
- I hope you are all fine ,
- In the process of developping the Su-27 fuel system and by reading the wiki articles and other topics
- I did this :
- [code]
- <?xml version="1.0"?>
- <system name="Fuel">
- <!-- tank[1] collector tank connected to the engine fuel pump,
- tank[0], tank[2],tank[3] and tank[4] feeds the collector through valves.
- Negative Gs (<-0.5g) cuts the supply to the collector tanks -->
- <property value="1">propulsion/tank[0]/collector-valve</property>
- <property value="1">propulsion/tank[2]/collector-valve</property>
- <property value="1">propulsion/tank[3]/collector-valve</property>
- <property value="1">propulsion/tank[4]/collector-valve</property>
- <channel name="Fuel pumping">
- <switch>
- <!-- Tank[0] to Collector tank[1] -->
- <default value="-1"/>
- <test logic="OR" value="0">
- propulsion/tank[0]/collector-valve EQ 0
- propulsion/tank[0]/contents-lbs LE 0
- propulsion/tank[1]/contents-lbs GE 9170.23 <!-- 1 lb below capacity -->
- accelerations/Nz LE -0.5
- </test>
- <output>propulsion/tank[0]/external-flow-rate-pps</output>
- </switch>
- <switch>
- <!-- Tank[2] to Collector tank[1] -->
- <default value="-1"/>
- <test logic="OR" value="0">
- propulsion/tank[2]/collector-valve EQ 0
- propulsion/tank[2]/contents-lbs LE 0
- propulsion/tank[1]/contents-lbs GE 9170.23 <!-- 1 lb below capacity -->
- accelerations/Nz LE -0.5
- </test>
- <output>propulsion/tank[2]/external-flow-rate-pps</output>
- </switch>
- <switch>
- <!-- Tank[3] to Collector tank[1] -->
- <default value="-1"/>
- <test logic="OR" value="0">
- propulsion/tank[3]/collector-valve EQ 0
- propulsion/tank[3]/contents-lbs LE 0
- propulsion/tank[1]/contents-lbs GE 9170.23 <!-- 1 lb below capacity -->
- accelerations/Nz LE -0.5
- </test>
- <output>propulsion/tank[3]/external-flow-rate-pps</output>
- </switch>
- <switch>
- <!-- Tank[4] to Collector tank[1] -->
- <default value="-1"/>
- <test logic="OR" value="0">
- propulsion/tank[4]/collector-valve EQ 0
- propulsion/tank[4]/contents-lbs LE 0
- propulsion/tank[1]/contents-lbs GE 9170.23 <!-- 1 lb below capacity -->
- accelerations/Nz LE -0.5
- </test>
- <output>propulsion/tank[4]/external-flow-rate-pps</output>
- </switch>
- <summer>
- <input>-propulsion/tank[0]/external-flow-rate-pps</input>
- <input>-propulsion/tank[2]/external-flow-rate-pps</input>
- <input>-propulsion/tank[3]/external-flow-rate-pps</input>
- <input>-propulsion/tank[4]/external-flow-rate-pps</input>
- <output>propulsion/tank[1]/external-flow-rate-pps</output>
- </summer>
- </channel>
- </system>
- [/code]
- but when including it as system in the aircraft's fdm file , I see the following oputput in the console :
- [quote]
- [i]Failed to tie property fcs/ to object methods
- Failed to tie property fcs/ to object methods
- Failed to tie property fcs/ to object methods
- Failed to tie property fcs/ to object methods[/i]
- [/quote]
- so what's happening , I can't figure out the cause of this warning ,
- and actually :wink: I have some other issues with this :
- [b][u]One : [/u][/b]
- the aircraft has the following fuel tanks config :
- [img]http://i.imgur.com/WNLcAyB.jpg[/img]
- with
- [quote]
- −tank 1 : 3180 kg (7010.70 lbs) : forward integral fuel tank
- −tank 2 : 4160 kg (9171.23 lbs) : centre-section integral fuel tank
- −tank 3 : 1060 kg (1168.45 lbs *2 wing tanks) : wings integral fuel tanks
- −tank 4 : 1000 kg (1168.45 lbs) :Rear fuselage tank
- ====> TOTAL - 9400 kg.
- (that's about 12000L with an average kerosene density of 0.785kg/dm³)
- [/quote]
- I'm stil far from writing an accurate realistic system beacause of the complicated consumption sequence which is :
- [quote]
- − 45% from the tank 1.
- − empty tank 4.
- − empty tank 1.
- − 15% from tank 2.
- − empty tank 3.
- − empty tank 2
- [/quote]
- That's of course is to keep the (well known Su-27) super-maneuvrability .
- so at startup tanks should be filled equally in percentage (the same % from each tank overall capacity , I set it to 50% ).
- Now the question is is this sequence implementable in FG ? (even with a spaghetti style code "I think it will be ,for sure :D :D ")
- [b][u]Two: [/u][/b]
- the fuel transfert between tanks starts immediatly as the simulation begins , I thinks with "/fdm-initialized"
- so can we bind it with a property that delay it until "/engine[x]/running" for example ?
- this should be more realistic and the current behaviour is totally incorrect .
- so, that's it , Any help or advice is appreciated ,
- Thanks in advance ,
- Yanes .
- [/code]
- It reports an SQL error so this may be serious :twisted: since it [b][u]may [/u][/b]be related to the database security .
- the error message page source is :
- [code]
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" dir="ltr"><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><title>General Error</title><style type="text/css">
- /* <![CDATA[ */
- * { margin: 0; padding: 0; } html { font-size: 100%; height: 100%; margin-bottom: 1px; background-color: #E4EDF0; } body { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; color: #536482; background: #E4EDF0; font-size: 62.5%; margin: 0; } a:link, a:active, a:visited { color: #006699; text-decoration: none; } a:hover { color: #DD6900; text-decoration: underline; } #wrap { padding: 0 20px 15px 20px; min-width: 615px; } #page-header { text-align: right; height: 40px; } #page-footer { clear: both; font-size: 1em; text-align: center; } .panel { margin: 4px 0; background-color: #FFFFFF; border: solid 1px #A9B8C2; } #errorpage #page-header a { font-weight: bold; line-height: 6em; } #errorpage #content { padding: 10px; } #errorpage #content h1 { line-height: 1.2em; margin-bottom: 0; color: #DF075C; } #errorpage #content div { margin-top: 20px; margin-bottom: 5px; border-bottom: 1px solid #CCCCCC; padding-bottom: 5px; color: #333333; font: bold 1.2em "Lucida Grande", Arial, Helvetica, sans-serif; text-decoration: none; line-height: 120%; text-align: left; }
- /* ]]> */
- </style></head><body id="errorpage"><div id="wrap"> <div id="page-header"> <a href="./">Return to the index page</a> </div> <div id="acp"> <div class="panel"> <div id="content"> <h1>General Error</h1> <div>SQL ERROR [ mysql4 ]<br /><br />Incorrect string value: '\xE2\x88\x92tan...' for column 'post_text' at row 1 [1366]<br /><br />An SQL error occurred while fetching this page. Please contact the <a href="mailto:flightge@flightgear.org">Board Administrator</a> if this problem persists.</div><p>Please notify the board administrator or webmaster: <a href="mailto:flightge@flightgear.org">flightge@flightgear.org</a></p> </div> </div> </div> <div id="page-footer"> Powered by <a href="https://www.phpbb.com/">phpBB</a>® Forum Software © phpBB Group </div></div></body></html>
- [/code]
- Please Mods and Admin to test this and react ASAP ,
- Regards , Yanes ,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement