Skip to content

Instantly share code, notes, and snippets.

@stackdump
Created November 20, 2025 05:20
Show Gist options
  • Select an option

  • Save stackdump/30372945255ffcecf6e0a41ace6e57ff to your computer and use it in GitHub Desktop.

Select an option

Save stackdump/30372945255ffcecf6e0a41ace6e57ff to your computer and use it in GitHub Desktop.
Petri Net ODE Simulation Results

Petri Net ODE Simulation Results

pflow

Simulation Parameters

  • Time Span: 0 to 30
  • Initial Step: 0.01
  • Absolute Tolerance: 0.000001
  • Relative Tolerance: 0.001
  • Solver: Tsit5 (5th order Runge-Kutta)

Places

Place Initial Tokens Capacity
Predator 8 Infinity
Prey 40 Infinity

Transition Rates

Transition Rate
t_birth 1
t_death 0.5
t_pred 0.02

Plotted Variables

  • Predator
  • Prey

Final State

Place Final Tokens
Predator 23.9551
Prey 1.8349

Generated by pflow-xyz ODE Simulation

Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment