Board index FlightGear Development Aircraft Flight dynamics model

YASim Electric Engine?

Good sims require good FDMs (the "thing" that makes an aircraft behave like an aircraft).

YASim Electric Engine?

Postby D-ECHO » Sun Apr 09, 2017 8:20 am

Hi!
Being impressed by the enormous development of electric aviation I am currently trying to do some electric aircrafts for FG (eGenius, maybe Silent2Electro), therefor is it possible to (simply :D) incorporate electric engines in addition to <piston-engine> and <turbine-engine> into yasim?
Regards
D-ECHO
D-ECHO
 
Posts: 2462
Joined: Sat May 09, 2015 1:31 pm
Pronouns: Bea (she/her)
Version: next

Re: YASim Electric Engine?

Postby erik » Sun Apr 16, 2017 8:22 am

Looking at the code Electric engines are not (yet) implemented for YASim.
JSBSim however does support them.

Erik
Current: Parachutist, Paraglider, Pterosaur, Pilatus PC-9M and variants, ERCO Ercoupe, Fokker Dr.1, Fokker 50, Fokker 100
Less active: Cessna T-37, T-38, Santa Claus. Previous: General Dynamics F-16. Worked on: Wright Flyer
erik
 
Posts: 2248
Joined: Thu Nov 01, 2007 2:41 pm

Re: YASim Electric Engine?

Postby Octal450 » Sun Apr 16, 2017 4:51 pm

You can simulate it. Yasim doesn't simulate fuel or egt or epr right, so the only useful numbers are really the n1 and n2.
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5601
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11

Re: YASim Electric Engine?

Postby D-ECHO » Mon Apr 17, 2017 11:51 am

The problem is that when using <piston-engine> for example, the idle rpm is too high (0 for electrical engines) and it consumes fuel (which can be worked around, using a fake ballast, but isn't as beautiful as if it was only consuming electricity ;)
D-ECHO
 
Posts: 2462
Joined: Sat May 09, 2015 1:31 pm
Pronouns: Bea (she/her)
Version: next

Re: YASim Electric Engine?

Postby Octal450 » Mon Apr 17, 2017 3:21 pm

What about a fake fuel tank that keeps being refilled in the system loop?
You change the IDLE RPM.
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5601
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11

Re: YASim Electric Engine?

Postby jsb » Wed Apr 19, 2017 9:02 pm

I did not get to that part of the yasim code yet but I guess it cannot be too difficult to add a new class for electrical engine to yasim. Should we collect our ideas for this here to create a specification?
jsb
 
Posts: 285
Joined: Sat Oct 25, 2014 9:17 pm
Location: Hamburg, Germany
Callsign: D-JSB
Version: next
OS: Win7/Linux

Re: YASim Electric Engine?

Postby D-ECHO » Fri Apr 21, 2017 2:51 pm

I think it's good to collect the specification ideas here, so I'll start :D
-no idle rpm needed
-very little friction (can be variable when varying how much electric power is taken away from the engine)
-almost only propeller-based RPM transition times
-does not consume fuel
-> possibly <battery> element?
-> fixed mass
-> settable energy per weight ratio
D-ECHO
 
Posts: 2462
Joined: Sat May 09, 2015 1:31 pm
Pronouns: Bea (she/her)
Version: next

Re: YASim Electric Engine?

Postby kaklik » Fri Dec 27, 2019 8:21 pm

There seems to be an almost complete implementation of the electric engine to Yasim.

https://sourceforge.net/p/flightgear/codetickets/595/
kaklik
 
Posts: 24
Joined: Fri Dec 27, 2019 8:07 pm

Re: YASim Electric Engine?

Postby enrogue » Wed Jul 14, 2021 12:37 pm

According to https://sourceforge.net/p/flightgear/fl ... uests/197/

the work has been merged (on 2020-04-25)
User avatar
enrogue
 
Posts: 294
Joined: Mon May 19, 2014 7:40 pm
Location: London (UK)
Callsign: enrogue
OS: Ubuntu, macOS

Re: YASim Electric Engine?

Postby danielHL » Wed Jul 14, 2021 2:58 pm

danielHL / D-FMPW
danielHL
 
Posts: 280
Joined: Fri May 02, 2014 7:23 pm
Callsign: D-FMPW
Version: next
OS: Linux

Re: YASim Electric Engine?

Postby TheEagle » Fri Aug 27, 2021 4:15 pm

D-ECHO wrote in Fri Apr 21, 2017 2:51 pm:fixed mass

Really ? I'm not an electrotechnics specialist, but … to drive the plane forward through the air you need energy. If this energy comes from the battery, it has to get lighter ? :shock: :? :?:
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3433
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: YASim Electric Engine?

Postby wlbragg » Fri Aug 27, 2021 5:29 pm

I don't think electrolysis has a mass or weight component, it is energy yes, not mass. Same for photosynthesis if that would be the energy source.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7609
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: YASim Electric Engine?

Postby TheEagle » Fri Aug 27, 2021 5:38 pm

I read it up - actually you are right. But I was also right - a 100 volt battery loses a few picograms upon dechargement ! :mrgreen:
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3433
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: YASim Electric Engine?

Postby Johan G » Sat Aug 28, 2021 5:45 pm

While lead-acid batteries are not really used in aircraft, those who have worked with those, like I for example did when I drove a forklift a lot some summers ago, knows that they always vent hydrogen and oxygen from the electrolysis, and that there should be plenty of ventilation at the charging station. That would account for lost mass.

In fact you should always top those batteries off with more water after disconnecting them from the charger. That would usually take some 5-15 seconds, but once, after returning to morning shift after a week on evening shift, it took 3 minutes. Yikes! :shock:
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6634
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit


Return to Flight dynamics model

Who is online

Users browsing this forum: No registered users and 1 guest