Profile image

I need some code

1,276 IMTRYING  1.2 years ago

I'm trying to get my propeller engine to Have adaptive pitch so it's low pitch like slow but it's High pitch when it's fast I need some code so I can use GS and IAS To get the correct propeller pitch Can somebody please help me with that If you need the plane the link will be in the comments.

  • Log in to leave a comment
  • Profile image
    6,220 11qazxc

    min(90,max(10+atan(TAS/(2*pi*PROP_RADIUS*0.5*PROP_RPM*60)),0))/90 will perhaps work
    PROP_RADIUS is in meters, not blocks.
    So, you calculate velocity at the middle of blade, add velocity of airplane relative to air, calculate angle between result and propeller plane, and add 10 degrees.

    Pinned 1.2 years ago
  • Profile image
    1,276 IMTRYING

    https://www.simpleplanes.com/a/4Qpe69/CNT-5A-Advanced-prop

    Pinned 1.2 years ago
  • Profile image
    1,276 IMTRYING

    @11qazxc Thank you

    May your pillow be cold on both sides.

    1.2 years ago
  • Profile image
    1,276 IMTRYING

    @WNP78

    +1 1.2 years ago