Skip to content

Multiply engine weight factors  #216

@aflazmn

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;

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