Skip to content

Multiply engine weight factors  #216

Description

@aflazmn

#123 mentions that multiple weight factors are added together. They should be multiplied together. For an XL engine with a supercharger, the final weight should be 0.5 (XL is half the weight) times 1.1 (supercharger adds 10%) which equals 0.55, not 0.6 which is what it currently produces.

The difference is greater with XXL engines. Should be 0.36666 but instead has 0.43333. You should just be able to change

EngineFactor += savings.EngineFactor - 1;

to

EngineFactor *= savings.EngineFactor;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions