aboutsummaryrefslogtreecommitdiffstats
path: root/engine.h
blob: 89c6a136da954f29bf8557fb5e84bf9641478877 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
typedef struct {
	Volume displacement;
	Temperature ambient_temperature;
	Pressure ambient_pressure;
	AngularSpeed rpm;
	Pressure map;
	Fraction ve;
	Fraction comp_efficiency;
	Fraction intercooler_efficiency;
	Pressure intercooler_deltap;
} Engine;

void init_engine(Engine *e);
VolumeFlowRate volume_flow_rate(const Engine *e);