SoftwarePhysicsSimulation

Thermal circuit simulator

A DC resistive circuit simulator that accounts for temperature, so you can see the losses ideal calculations ignore.

Problem

Circuit calculations are usually ideal, so they hide the power lost as resistors heat up.

What I built

A web simulator for DC resistive circuits with a thermal model for each resistor.

Result

A live app anyone can try in the browser.

How it works

Circuit inputssource voltage, resistances
Environmenttemperature, resistor material
Thermal modelresistance vs temperature
DC solvercurrents, power, losses
Live viewReact + Tailwind UI

Why I built it

In a university physics course, the professor asked us to connect our degree with thermodynamics. In electronics, we usually calculate circuits as if they were ideal and ignore external factors like temperature. But resistors heat up, their resistance changes, and power is lost. I wanted a tool that shows that difference.

How it works

The hardest part was the research: there isn’t much material on this topic because it’s very specific. The key was understanding how a resistor’s temperature relates to its current and its material. I documented the research in the Notion notes.

In the app, you set the source voltage, the resistances, the ambient temperature and the resistor material. The simulator recalculates currents, power and losses every time you change a value.

Stack

A client-side React app built with Vite, TypeScript and Tailwind CSS. Everything runs in the browser, so results update instantly.