rameau.core.simulation.OptiSimulation.set_states OptiSimulation.set_states(states, timestep, only_levels=False) Set the simulation states for timestep. Parameters: states (StatesCollection) – Simulation states to apply. timestep (int) – Timestep for which to set the simulation states. only_levels (bool) – Whether to update only reservoir levels.