6.1.3. model

model()[source]

Defines the CO2MPAS model.

Calibrates the models with WLTP data and predicts NEDC cycle.

CO2MPAS model’s data
config.selector.all  
data.calibration.model_scores  
data.calibration.wltp_h Dictionary that has all inputs of the calibration cycle.
data.calibration.wltp_l Dictionary that has all inputs of the calibration cycle.
data.prediction.models_nedc_h  
data.prediction.models_nedc_l  
data.prediction.models_wltp_h  
data.prediction.models_wltp_l  
data.prediction.wltp_h Data required to predict the CO2 emissions with CO2MPAS model.
data.prediction.wltp_l Data required to predict the CO2 emissions with CO2MPAS model.
input.calibration.wltp_h Dictionary that has inputs of the calibration cycle.
input.calibration.wltp_l Dictionary that has inputs of the calibration cycle.
input.precondition.wltp_p Dictionary that has all inputs of the calibration cycle.
input.prediction.models  
input.prediction.nedc_h  
input.prediction.nedc_l  
input.prediction.wltp_h New data.
input.prediction.wltp_l New data.
output.calibration.wltp_h Output data.
output.calibration.wltp_l Output data.
output.precondition.wltp_p Dictionary that has all outputs of the precondition cycle.
output.prediction.nedc_h  
output.prediction.nedc_l  
output.prediction.wltp_h  
output.prediction.wltp_l  
CO2MPAS model’s functions
select_calibration_data Updates cycle inputs with the precondition outputs.
select_calibration_data<0> Updates cycle inputs with the precondition outputs.
select_prediction_data Selects the data required to predict the CO2 emissions with CO2MPAS model.
select_prediction_data<0> Selects the data required to predict the CO2 emissions with CO2MPAS model.
CO2MPAS model’s dispatchers
calculate_precondition_output Wraps all functions needed to calculate the precondition outputs.
calibrate_with_wltp_h Wraps all functions needed to calibrate the models to predict light-vehicles’ CO2 emissions.
calibrate_with_wltp_l Wraps all functions needed to calibrate the models to predict light-vehicles’ CO2 emissions.
extract_calibrated_models Select the calibrated models.
predict_nedc_h Wraps all functions needed to calibrate and predict light-vehicles’ CO2 emissions.
predict_nedc_l Wraps all functions needed to calibrate and predict light-vehicles’ CO2 emissions.
predict_wltp_h Wraps all functions needed to predict CO2 emissions.
predict_wltp_l Wraps all functions needed to predict CO2 emissions.
Returns:The CO2MPAS model.
Return type:co2mpas.dispatcher.Dispatcher