fome-fw/firmware/controllers/algo/airmass/speed_density_base.h

20 lines
446 B
C
Raw Normal View History

2020-07-22 18:24:20 -07:00
/**
* @file speed_density_base.h
*
* Base for speed density (ie, ideal gas law) math shared by multiple fueling modes.
*
* @date July 22, 2020
* @author Matthew Kennedy, (C) 2020
*/
2020-07-22 13:11:07 -07:00
#pragma once
#include "engine.h"
float idealGasLaw(float volume, float pressure, float temperature);
class SpeedDensityBase {
public:
static float getAirmassImpl(float ve, float manifoldPressure, float temperature DECLARE_ENGINE_PARAMETER_SUFFIX);
};