HybridSim
Turned a hybrid simulation model written in legacy R scripts into a REST API with Plumber, integrated it into the WEFT platform and designed the interfaces to compare scenarios and visualize their results.
- Status
- Delivered
- Role / client
- LGP Tarbes
- Year
- 2025
- Stack
- RPlumberREST APIReactDockerKeycloak
Overview
HybridSim is a hybrid simulation research project at LGP Tarbes. Its simulation logic lived in legacy R scripts that could not be used from a web interface.
From scripts to an API. I restructured the legacy R code into a REST API with Plumber, so the simulation is exposed through clean endpoints that any client can call.
Part of the platform. The API joined the WEFT platform, deployed in the shared multi-service Docker stack behind Keycloak authentication.
Scenario analysis. On top of the API, I designed React interfaces to compare scenarios side by side and visualize their results.
What I did
- Analyzed and restructured the legacy R simulation code.
- Exposed the simulation as a REST API with Plumber.
- Integrated the API into the WEFT platform and its Docker stack, behind Keycloak.
- Designed React interfaces to compare scenarios side by side.
- Built the results visualizations for each scenario.