A method for determining a position of at least one actuator (204, 206, 207, 306, 308) of an internal combustion engine arrangement, the method comprising the steps of: - receiving parameter values for engine performance parameters of the internal combustion engine arrangement at a first point in time, the engine performance parameters being a respective parameter correlating to at least fuel consumption, NOx emissions and engine thermal power, the engine thermal power defining an output of the engine; - predicting at least one of an engine torque and engine speed for the internal combustion engine arrangement at an at least one second, future point in time (N0, N1, N2, N3); - determining a respective parameter value for the fuel consumption, NOx emissions and engine thermal power of the internal combustion engine at the second point in time by using the predictions of the at least one of the engine torque and engine speed; - determining a first weighting parameter for the fuel consumption, a second weighting parameter for the NOx emissions and a third weighting parameter for the engine thermal power such as to provide a minimum of the sum of the first weighting parameter times the fuel consumption and the second weighting parameter times the NOx emissions minus the third weighting parameter times the engine thermal power; - determining an actuator position for the at least one actuator (204, 206, 207, 306, 308), by means of the minimum of the sum of the first weighting parameter times the fuel consumption and the second weighting parameter times the NOx emissions minus the third weighting parameter times the engine thermal power using the parameter values at the first point in time and at the at least one second point in time as input, and - controlling the at least one actuator (204, 206, 207, 306, 308) to be positioned in the determined actuator position at a point in time after the first point in time. - receiving parameter values for engine performance parameters of the internal combustion engine arrangement at a first point in time, the engine performance parameters being a respective parameter correlating to at least fuel consumption, NOx emissions and engine thermal power, the engine thermal power defining an output of the engine; - predicting at least one of an engine torque and engine speed for the internal combustion engine arrangement at an at least one second, future point in time (N0, N1, N2, N3); - determining a respective parameter value for the fuel consumption, NOx emissions and engine thermal power of the internal combustion engine at the second point in time by using the predictions of the at least one of the engine torque and engine speed; - determining a first weighting parameter for the fuel consumption, a second weighting parameter for the NOx emissions and a third weighting parameter for the engine thermal power such as to provide a minimum of the sum of the first weighting parameter times the fuel consumption and the second weighting parameter times the NOx emissions minus the third weighting parameter times the engine thermal power; - determining an actuator position for the at least one actuator (204, 206, 207, 306, 308), by means of the minimum of the sum of the first weighting parameter times the fuel consumption and the second weighting parameter times the NOx emissions minus the third weighting parameter times the engine thermal power using the parameter values at the first point in time and at the at least one second point in time as input, and - controlling the at least one actuator (204, 206, 207, 306, 308) to be positioned in the determined actuator position at a point in time after the first point in time.