experiment.py.jinja 339 B

1234567891011121314151617
  1. #!/usr/bin/python3
  2. # This file was automatically generated from drawio2cbd with the command:
  3. # {{command}}
  4. from model import {{entry}}
  5. {% for im in imports %}
  6. {{im}}
  7. {% endfor %}
  8. cbd = {{entry}}("{{entry}}")
  9. # Run the Simulation
  10. cbd.run(int({{time}}/DELTA_T), delta_t=DELTA_T)
  11. # TODO: Plot Signals
  12. # TODO: Process Simulation Results