Skip to content

SimulationVuer Live Demo (for a path to a PMR file)

This is a live demo of the SimulationVuer component for a path to a PMR file. Here, the Lorenz model avaialble at here is used. The simulation is run in the browser and it is rerun automatically whenever you modify some of the model parameters.

Live Demo

Code Preview

js
  <div class="your-outer-container">
    <SimulationVuer
      :apiLocation="apiLocation"
      :id="id"
    />
  </div>

  <script>
    import { SimulationVuer } from "@abi-software/simulationvuer";

    export default {
      components: { SimulationVuer },
      data: function () {
        return {
          apiLocation: API_LOCATION,
          id: "workspace/b7c/rawfile/e0ae8d2d56aaaa091e23e1ee7e84cacbda1dfb6b/lorenz.omex",
        }
      }
    }
  </script>