Reaction-based modeling and control of an electrically boosted diesel engine