BioSim/OpenSim science
1. What BioSim/OpenSim is
BioSim — the biomechanical computation engine of the Samson-fit platform: our own Python implementation of the key OpenSim principles (Stanford University, Apache 2.0). It reads standard .osim musculoskeletal models, computes muscle lengths, moment arms and joint torques, and distributes effort across muscles — no external services, entirely on your own host.
The engine powers the muscle calculator, the MIDA adaptation model and the AI Coach video analysis. Models: in-house Merged_v7 with arm and leg muscles (based on gait2392), plus Male_v2 / Female_v2 legacy models — 620–686 muscles depending on the version.
2. How a workout is computed
Same exercise in — same honest numbers out. Every intermediate value is available for inspection.
3. Calibration against BioSim/OpenSim runs
- marker-based inverse kinematics of the bar path: bench press, incline variants, grip width 0.40–0.80 m;
- static optimization across 10 movement-cycle phases: 0 — start, 1–4 — lowering, ~5 — chest touch, 6–9 — pressing;
- moment-arm audit: pectoralis major shows the largest shoulder moment arm (~4 cm) in pressing positions;
- empirical %MVC catalog: phase curves per technique variant (narrow / standard / wide grip) for chest, triceps and more.
These reference curves are published on the goal pages as phase activations — the user sees numbers, not promises; the engine is periodically reconciled against them.
4. What the user gets
| Service | BioSim/OpenSim contribution |
|---|---|
| Muscle calculator | load per muscle group (J/kg, stress) for isometric, dynamic, eccentric, statodynamics and plyometric modes |
| MIDA | %MVC per group with fiber share; long-term adaptation and recovery forecast |
| AI Coach | technique video analysis against the model; plan adjustments from detected deviations |
| Goal → exercise ranking | phase activation curves per technique variant |
Related reading: Isometric science, MIDA theory, Vibration theory (ProV/Sport).
5. Scientific honesty and limitations
- no raw personal data leaves your host — everything is computed locally (see the privacy policy);
- BioSim/OpenSim output is training guidance, not a medical diagnosis;
- empirical values are always labeled as such in the interface.
We publish assumptions and keep them visible — that is the difference between a science-based platform and a fitness horoscope.