code to get vrms-concentration