Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Total energy compensation (unit) #5

Closed
scls19fr opened this issue May 9, 2015 · 2 comments
Closed

Total energy compensation (unit) #5

scls19fr opened this issue May 9, 2015 · 2 comments

Comments

@scls19fr
Copy link

scls19fr commented May 9, 2015

Total energy compensation should be named "climb (with energy compensation)" and should be given in meter per second (as climb)

see #1

@scls19fr
Copy link
Author

Ep = m g z
Ek = 1/2 m v^2

Em = Ep + Ek

dEm / dt = m g dz/dt + d/dt (1/2 m v^2)

VzComp = ( dEm / dt) * 1 / (m * g)
= dz/dt + 1/(2*g) * d/dt(v^2)
= Vz + VzK

where VzK = 1/(2*g) * d/dt(v^2)

@scls19fr
Copy link
Author

I think you made a mistake in this formula.

self.tec.append(dz / dt + ds2 / (2 * 9.80665))

It might be

self.tec.append(dz / dt + dv2 / (2 * 9.80665 * dt))

where dv2 is difference between current speed ^ 2 and previous speed ^ 2
(not position !)

z is meter so dz/dt is m/s

s is m
ds2 is m^2
g=9.81 is in m.s^(-2)
so ds2 / (2 g) is in m^2 / (m.s^(-2)) so s^2

When speed is constant you might have a compensated climb equal to not compensated climb.

So it should have similar range.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant