velxio/frontend/src/simulation
David Montero cbcf6ba81e feat(sim): P4 runtime burnout for resistors + electrolytic capacitors
Generalizes the LED's burnout to passive parts via a centralized monitor that
watches the live electrical solve. When a part is stressed past its rating for
a sustained moment it's marked "destroyed": the canvas renders it charred with a
smoke badge and a fault is logged to the output console. Clears on Reset.

Follows the Fritzing-simulator precedent (smoke-on-component) wrapped in a
first-order thermal delay so a brief inrush spike doesn't destroy a part — only
sustained overload (or a catastrophic >=3x overload, instant) does.

- runtimeBurnout.ts: pure stress (resistor power, cap voltage / reverse) + a
  thermal-delay burn decision, plus a monitor subscribed to the electrical +
  simulator stores. Resistor burns past 2x rated (the verifier already warns at
  1x for intentional teaching over-power); a cap bursts over its voltage rating
  or on reverse polarity.
- useSimulatorStore: burntComponents set + mark/clear actions; cleared on
  Reset / restartParts.
- DynamicComponent + SimulatorCanvas.css: charred filter + smoke badge.

Tests: thermal-delay decision (instant / sustained / spike / cooldown) + stress
computation (resistor power, cap over-voltage, reverse, unwired -> null).
2026-06-18 04:35:56 +02:00
..
customChips feat(chipbus): Galaksija keyboard - type BASIC over the bus 2026-06-05 14:37:42 -03:00
digital feat(digital-gate-engine): 4-bit ripple counter gallery example + sequential controller fix 2026-06-05 21:58:42 -03:00
displays feat(epaper): decode the UC8179/GD7965 7.5" panel + fix its BUSY polarity 2026-06-04 23:45:37 -03:00
parts feat(sim): P4 runtime burnout for resistors + electrolytic capacitors 2026-06-18 04:35:56 +02:00
spice feat(sim): P1 over-voltage for boards + electrolytic capacitors 2026-06-18 01:19:13 +02:00
verify feat(sim): P2 wiring ERC slice 2 — VCC-to-GND short + shorted-out parts 2026-06-18 03:32:17 +02:00
AVRSimulator.ts fix(sim): emulate AVR EEPROM (fixes #203) 2026-06-16 04:18:51 +02:00
Esp32Bridge.ts feat(microsd): SD-over-SPI card storage for AVR, RP2040 and ESP32 2026-06-11 03:59:53 +02:00
Esp32C3Simulator.ts
…
Esp32MicroPythonLoader.ts
…
HD44780Decoder.ts
…
I2CBusManager.ts
…
Interconnect.ts
…
LogicFamilies.ts
…
MicroPythonLoader.ts feat(opencore): extract Pico W WiFi to a pluggable PIO peripheral seam 2026-06-15 08:33:28 +02:00
PinManager.ts fix(sim): keep PwmCallback 2-arg compatible via arity dispatch 2026-06-11 03:29:44 -03:00
PinResolver.ts
…
PioPeripheral.ts feat(opencore): extract Pico W WiFi to a pluggable PIO peripheral seam 2026-06-15 08:33:28 +02:00
RP2040Simulator.ts fix(rp2040): Pico W always boots the W firmware (no `import network` crash) 2026-06-15 18:55:13 +02:00
RaspberryPi3Bridge.ts fix(sim): desktop QEMU sims use injected sidecar URL; fix nano-button-led wiring 2026-06-02 03:24:19 +02:00
RiscVCore.ts
…
RiscVSimulator.ts
…
SensorUpdateRegistry.ts
…
SignalRouter.ts
…
SpiBus.ts
…
Stm32Bridge.ts fix(sim): desktop QEMU sims use injected sidecar URL; fix nano-button-led wiring 2026-06-02 03:24:19 +02:00
esp32-signals.ts
…
piSlaveScanner.ts
…
rp2040-bootrom.ts
…
sensorControlConfig.ts
…