2020-07-23 01:23:57 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "airmass.h"
|
|
|
|
|
2021-05-14 04:17:22 -07:00
|
|
|
class MafAirmass final : public AirmassVeModelBase {
|
2020-07-23 01:23:57 -07:00
|
|
|
public:
|
2021-05-14 04:17:22 -07:00
|
|
|
explicit MafAirmass(const ValueProvider3D& veTable) : AirmassVeModelBase(veTable) {}
|
2020-07-23 01:23:57 -07:00
|
|
|
|
2021-05-14 04:17:22 -07:00
|
|
|
AirmassResult getAirmass(int rpm) const override;
|
2020-07-23 01:23:57 -07:00
|
|
|
|
|
|
|
// Compute airmass based on flow & engine speed
|
|
|
|
AirmassResult getAirmassImpl(float massAirFlow, int rpm) const;
|
|
|
|
};
|