An artificial confinement potential is used to model effects of chemical environment of viarious systems. It is widely used for modeling physical phenomena such as in-crystal polarizabilities, electronic structure of quantum dots, high-pressure effects on atoms and molecules and the systems included into nanosized cavities etc.. In our project we will focus on particular problems namely: ab initio calculations of cationic in-crystal polarizabilities, cavity embedded molecules and NMR and hyperfine propeties of semiconductor quantum dots.