>MjSim</code><span class="sig-paren">(</span><em>model</em>, <em>data=None</em>, <em>nsubsteps=1</em>, <em>udd_callback=None</em><span class="sig-paren">)</span><a class="headerlink" href="#mujoco_py.MjSim" title="Permalink to this definition">¶</a></dt>
<dd><p>MjSim represents a running simulation including its state.</p>
<p>Similar to Gym’s <code class="docutils literal"><span class="pre">MujocoEnv</span></code>, it internally wraps a <code class="xref py py-class docutils literal"><span class="pre">Py