Voice commands · Biomechanics · Body composition · View pricing

BioSim/OpenSim science

BioSim/OpenSim — the biomechanical engine of Samson-fit: musculoskeletal models, muscle-force and load computation built on BioSim/OpenSim principles, entirely on your own host.

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.

Musculoskeletal model Kinematics Inverse dynamics Static optimization MIDA Calibration (BioSim/OpenSim runs)

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

1. Model loading — the .osim file is parsed into bodies, joints, coordinates, muscle path points and parameters (max force, optimal fiber length, tendon stiffness).
2. Kinematics — from the joint angles of the exercise, every muscle length and moment arm is computed for each pose.
3. Inverse dynamics — the external load (barbell, dumbbell, body weight) and gravity produce the required joint torques.
4. Static optimization — the required torque is distributed across individual muscles by a physiological objective; muscle models (Millard, De Groote–Fregly, rigid tendon) apply force–length and force–velocity relations.
5. MIDA — individual muscle forces convert to %MVC of the twelve MIDA groups, the fiber share (I / IIa / IIx) is applied, and fatigue accumulates across sets and reps.
6. Plan — the result feeds the load calculator (J/kg, stress), the MIDA long-term adaptation model and workout planning with recovery.

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

ServiceBioSim/OpenSim contribution
Muscle calculatorload 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 Coachtechnique video analysis against the model; plan adjustments from detected deviations
Goal → exercise rankingphase activation curves per technique variant

Related reading: Isometric science, MIDA theory, Vibration theory (ProV/Sport).

5. Scientific honesty and limitations

Empirical: the MVC catalog and phase curves come from BioSim/OpenSim runs on published musculoskeletal models; intensity zones rest on the classic isometric literature.
Model-based: individual muscle forces, fatigue accumulation and fiber shares are computed estimates with known simplifications: quasi-static phases, no per-subject geometry; calibration residuals of the reference runs are published on the goal pages.
  • 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.