Added missing setter in Sim.cs

Forgot to add setter in Sim.cs