We have to meticulously select the resistors r1and feedback resistor so that condition for sustained oscillation 1+Rf/R1>=3 or =3 because this is a software so there will be no noise ,if noise will be present >=3 condition have to satisfy......atlast we have to apply input for one time only after that change the switch the oacillations will continue