a corresponding housing 1001 1002 in some implementations the device can contain a closed loop or semi closed loop system insulin can automatically be dispensed according to continuous glucose level monitoring closed loop or according to continuous monitoring and additional pre meal bolus user inputs semi closed loop the is assessment feature 3000 may be used for bolus inputs calculation in the semi closed loop system and for basal dosages administration in the closed and semi closed loops fig4 is a schematic block diagram that shows one example of the suggested model which integrates various sub modules for the assessment of the is value conventional modeling of the physiological insulin glucose regulation system can require parameters that must be sampled from the blood tissue i e plasma the device disclosed hereinafter can be attached to the patient 39 s skin and can have accessibility to the subcutaneous tissue layer through the cannula thus sensing of glucose concentration levels in the isf u201c interstitial fluid u201d can be possible in addition the isf insulin infusion can be carried out and controlled by the patch unit the application of u201c transitional models u201d 100 101 can allow the utilization of insulin glucose conventional models 102 with measured parameters of the subcutaneous tissue i e isf it follows that the models 100 101 can allow transition from the subcutaneous tissue to blood tissue model 100.