Widgets

How to Add a Hydrogen Energy Storage Lab to Your Website

LK Forge · 4 min read · Updated September 2026

You can add a full hydrogen energy storage lab to any website, blog, or classroom page with a single line of code — free, with no sign-up, no plugin, and no script to install. Visitors split water into hydrogen with an electrolyzer, store it in a tank, and convert it back to electricity in a fuel cell — watching how much comes back. The lesson it makes concrete is the low round-trip efficiency of hydrogen: two conversions multiply, so most of the energy is lost as heat, yet the tank leaks slowly enough to make hydrogen a good seasonal store. This guide covers the fastest way to embed the Hydrogen Energy Storage Lab, what it shows, and where it works.

The quickest way: paste one embed snippet

An embed is just an <iframe> that loads the lab from lkforge.com, plus a small credit line. Copy this into your page’s HTML where you want the widget to appear:

<iframe src="https://lkforge.com/embed/hydrogen/"
        width="100%" height="1870" loading="lazy"
        style="border:0;max-width:720px"
        title="Hydrogen Energy Storage Lab by LK Forge"></iframe>
<p><a href="https://lkforge.com/tools/physics/hydrogen/">Hydrogen Energy Storage Lab</a>
   by <a href="https://lkforge.com/">LK Forge</a></p>

The <iframe> is the live lab; the <p> underneath is a plain credit link. Keep that line — the visible link is what keeps the widget free to embed. You can also copy this exact code straight from the LK Forge widget gallery.

What the widget shows

The lab opens as a store-and-reconvert dashboard, so a visitor can press Run and then take control:

  • System sliders: tank capacity, power rating, electrolyzer efficiency, fuel-cell efficiency, tank leak rate and hold time set up the cycle before you press ▶ Run.
  • Presets and reset: Seasonal store, Quick cycle, Leaky tank and High-efficiency stack jump to common cases; ↺ Reset clears the run.
  • Live readouts: energy in, energy delivered, tank level and round-trip efficiency update as hydrogen is made, stored and reconverted.
  • Two plots: tank level over the cycle, and retention toward half-life, beside a schematic and a loss donut showing where the energy goes.

Pick the right height

The snippet uses height="1870" and max-width:720px. This is a dashboard-style lab with sliders, readouts and two plots, so on a narrow phone the panels stack into a single column — the tall height keeps that stacked layout from clipping. On a wider page the widget simply centres within its max-width, so the one height works across screen sizes.

Where it works

Because it is a standard iframe, the embed works anywhere you can add HTML:

  • WordPress: add a Custom HTML block and paste the snippet.
  • Squarespace: use a Code / Embed block.
  • Wix: add an Embed HTML / iframe element.
  • Ghost: insert an HTML card.
  • Notion: paste the /embed/hydrogen/ URL and choose "Create embed".
  • Plain HTML, an intranet, or a lesson page: paste the snippet straight into the markup.

That’s the whole job. Copy the embed code from the widget gallery and paste it wherever an energy-storage, physics, or engineering lesson — or a blog post on seasonal storage and the hydrogen economy — needs a system students can actually store and reconvert.

Grab the embed code from the LK Forge widget gallery — free, no sign-up.

Open the Hydrogen Energy Storage Lab

Frequently asked questions

What can visitors do with the embedded Hydrogen Energy Storage Lab?
They set the tank capacity, power rating, electrolyzer efficiency, fuel-cell efficiency, tank leak rate and hold time, then press Run to split water into hydrogen, store it, and later convert it back to electricity. One-click presets — Seasonal store, Quick cycle, Leaky tank and High-efficiency stack — jump to common cases, and Reset clears the run. Live readouts show energy in, energy delivered, tank level and round-trip efficiency.
What does the Hydrogen Energy Storage Lab teach and show?
It shows why hydrogen has a low round-trip efficiency: two conversions stack — the electrolyzer that makes hydrogen and the fuel cell that turns it back — so their efficiencies multiply and much of the energy is lost as heat. What hydrogen does well is long, seasonal storage: a tank-level plot holds nearly flat over long holds while a retention plot tracks the slow leak toward half-life, so you can weigh cheap, low-loss storage over months against a poor round-trip on every cycle.
Is embedding the Hydrogen Energy Storage Lab free?
Yes. It is free to embed on any site, with no account, no API key and no usage limits. The whole simulation runs in your visitor’s own browser, so there is no server cost — we only ask that you keep the small "Hydrogen Energy Storage Lab by LK Forge" credit line that comes with the embed code.
What iframe height should I use, especially on mobile?
The snippet ships with height="1870", which is tall enough that the schematic, sliders, readouts and both plots all fit without clipping. This is a dashboard-style lab, so on a narrow phone the panels stack into a single column — the tall height keeps that stacked layout from clipping. On a wider page the widget centres within its max-width of 720px.
Where can I embed it — WordPress, Wix, Squarespace, Notion?
Anywhere you can add HTML, because it is a standard iframe. In WordPress use a Custom HTML block; in Squarespace a Code/Embed block; in Wix an Embed HTML element; in Ghost an HTML card; in Notion paste the /embed/hydrogen/ URL as an embed. On a plain HTML page or an intranet, paste the snippet straight into the markup.
Does the embedded Hydrogen Energy Storage Lab track visitors or set cookies?
No. Everything runs locally in the visitor’s browser — nothing is uploaded. The embed sets no tracking cookies and sends no analytics, so it is safe to place on a privacy-sensitive site, an intranet, or a page for students.