simpm.dashboard — Dashboard helper components
simpm.dashboard provides Plotly Dash dashboards for SimPM runs. Use
simpm.run(..., dashboard=True|False) to launch a post-run dashboard
without wiring up Dash yourself. Advanced users can also call the dashboard
helpers directly when they already manage the environment.
Usage
import simpm
# After running a simulation, open the post-run dashboard
simpm.run(project, dashboard=True)
# Expert users may call the dashboard helpers directly
# simpm.dashboard.run_post_dashboard(project)
Launch the Streamlit dashboard for one or many environments. |
|
Build a Streamlit dashboard bound to the given environment. |
Streamlit dashboard for SimPM runs.
- simpm.dashboard.build_app(env) StreamlitDashboard
Build a Streamlit dashboard bound to the given environment.
Aggregating many runs
When simpm.run() executes a factory multiple times (for example, in a
Monte Carlo experiment), the dashboard automatically aggregates the results.
Each replication is assigned a unique run_id and all entity, resource, and
environment logs are merged into a single dataset so the dashboard tables,
charts, and download buttons display every run—not just the last one. Use the
“Run” selector in the Overview panel to focus on a specific replication or pick
“All runs” to view the combined history.