Asem Ameen QaidElectrical Engineering · UII
Home00Work01Research02Leadership03About04CV05Contact06
Work/AAQ-P06

EE Studio: Interactive Virtual Engineering Laboratory

A browser-based virtual laboratory where a student changes a parameter and watches the system respond: a mass settling on a spring, a transformer's voltage sagging, a grid approaching voltage collapse.

AAQ-P06Energy systems
ContextPersonal project
Period2026 · first complete milestone Oct 2026
RoleSole author · AI-assisted development
Scope7 modules · 37 labs · 485 backend tests
StackReact · TypeScript · FastAPI · NumPy/SciPy
Platform Deployed

Live: frontend on Vercel, backend on Railway, source on GitHub.

Verification Tested

485 automated backend tests passing at the first complete milestone, checked against hand or SciPy calculations.

How it was built Disclosure

Human-directed, AI-assisted: I set the scope, verified each model and reviewed every lab; Claude and Claude Code generated and tested the code.

Why I built it

Electrical engineering is usually taught as equations and static plots. A student can recite that a system with a damping ratio below one oscillates without ever seeing the oscillation change. Lab equipment and professional simulators help, but both need access, licences or a learning curve.

EE Studio sits between the two: no installation, each experiment reduced to the parameters that matter, and the result shown immediately.

The live platform, showing the seven modules.
The live platform, showing the seven modules.

What it covers

ModuleLabsTests
Power SystemsTransformer, transmission line, power flow, fault analysis, protection65
Renewable EnergySolar PV, MPPT, wind turbine, battery storage, grid inverter58
Control SystemsStep response, PID, Bode, root locus, Nyquist, state space76
Signal ProcessingSampling, convolution, filters, FFT, spectrum, signal generator81
Electronic System DesignOp-amp, rectifier, BJT biasing, RC/RL filters, regulators60
Machine LearningRegression, logistic regression, neural network, k-means, PCA73
Biomedical SystemsECG, EEG, blood pressure, pulse oximetry, pharmacokinetics72
Passing backend tests per module.
Passing backend tests per module.

Architecture

All engineering mathematics lives in pure Python functions with no web code, so each model can be tested on its own. A thin FastAPI route validates each request and calls the engine; the React lab page renders the result in charts and in a physical visualisation.

Frontend, backend and repository.
Frontend, backend and repository.
The six-slot layout shared by every lab page.
The six-slot layout shared by every lab page.

Method: verify the maths first

Every lab follows the same seven-step pipeline, and its first gate is mathematical: the model is checked numerically before any engine is written. Tests encode physical behaviour as well as numbers, for example that load-bus voltage falls as load rises, and that a heavy enough load makes power flow report non-convergence instead of a false value.

Lab development pipeline: seven steps, one decision gate.
Lab development pipeline: seven steps, one decision gate.

Lessons from bugs

The most useful lessons came from results that looked plausible but were wrong. The power-flow lab first showed voltage rising as load increased, caused by a sign error in hand-expanded equations; it was rebuilt on the admittance matrix and a regression test now checks the direction.

Deployment: GitHub, Vercel, Railway and the browser.
Deployment: GitHub, Vercel, Railway and the browser.
Interactive API documentation served by the deployed backend.
Interactive API documentation served by the deployed backend.

Resources

  • WEB Live platformee-studio-red.vercel.app Open
  • PDF Project report · 12 pagesAAQ-P06_EE-Studio_Project-Report.pdf Open PDF