start to add new function for cosimulation
add comments
add feak cosimulation functions that allow the data exchange during the simulation