if (reactsIds != null) {
for (int i = 0; i < reactsIds.length; i++) {
Reaction relatedReaction = model.getReaction(reactsIds[i]);
subModel.addReaction(relatedReaction.clone());
if (relatedReaction.getKineticLaw() != null) {
// TODO: Parameters!
getRelatedFunctionsId(relatedFunctionsIdSet, allFunctionsIdSet, relatedReaction.getKineticLaw().getMath());
processUnitsMap(unitsMap, model, relatedReaction.getKineticLaw());