[Flightgear-devel] modelling an battery powered electric motor MAV

2011-06-03 Thread Gaurav Tendolkar
I am modelling an battery powered electric motor MAV. In JSBsim the battery does not discharge. 00178 FGElectric::CalcFuelNeed(void)00179 {00180 return 0;00181 } now i want to write a code where fuel is the power supplied by battery. by knowing the total stored energy we will calculate time to

Re: [Flightgear-devel] modelling an battery powered electric motor MAV

2011-06-03 Thread Curtis Olson
Hi Gaurav, For questions specific to JSBSim code, you might also ask on the jsbsim mailing list (details at www.jsbsim.org) -- although I'm sure several of the developers are subscribe to both flightgear and jsbsim devel lists. One other thought if you want to avoid changing C++ code or you wish

Re: [Flightgear-devel] modelling an battery powered electric motor MAV

2011-06-03 Thread Ron Jensen
On Friday 03 June 2011 01:49:30 Gaurav Tendolkar wrote: I am modelling an battery powered electric motor MAV. In JSBsim the battery does not discharge. 00178 FGElectric::CalcFuelNeed(void)00179 {00180 return 0;00181 } now i want to write a code where fuel is the power supplied by battery.