這個頁面還沒有繁體中文版,先以英文顯示。

AI template

NPSH available calculator for operators, with AI

An NPSH available calculator your operators open on a tablet: from the tank or a suction gauge, with the margin over the pump's NPSHr, in SI or US units.

npsh-available.html
An NPSH available calculator on a phone: water at 40 °C lifted 3 m at a 1,500 m site, 3.73 m of NPSH available and a margin of 1.23 m over the pump's NPSHr
An example Convika made with this template

Example: NPSH available calculator

Convika made this page with the template. It works, so try it.

Make your own

Convika's AI makes your own tool in the example's format, fitted to what you write. Try it on your phone right away, no account needed.

Say what yours needs: your site's elevation, your pumps' NPSHr, your liquid, your units, your plant's margin rule. Up to 8,000 characters.

You don't need an account to try it. What you make is a preview that works for a few minutes.

Making it here is free and uses no AI credits. Once you sign up, each page the AI makes in your dashboard uses 1 credit, and new accounts start with 10.

NPSH available from the tank (open, under pressure, or at boiling) or from a suction gauge reading, with the surface pressure by site elevation and water's vapour pressure and density by temperature. The page shows each head beside the result, and the margin and ratio over the pump's NPSHr.

Say what your plant's version needs: your site's elevation set in, your pumps' NPSHr, your liquid, US units. The AI keeps the formulas and the tables and writes your changes into the page, which computes on the tablet and sends nothing anyone types.

How it works

  1. 1

    Say what you want

    Write what to change from the example: the subject, how many, the colors. Tap an idea to start from it.

  2. 2

    The AI makes the page

    Convika's AI writes the page in a few minutes, and you see a preview. Ask for changes in plain words until it's right.

  3. 3

    Publish and share the link

    Publish the page to get its own URL, then share it on X, LINE, or in class.

What it costs

Making a page uses 1 AI credit, and each change you ask for uses 1. A new account starts with 10 credits, so you can try a template without paying. Publishing on the Free plan is free.

Don't use the names, images, or text of existing shows, games, characters, or brands. The AI makes an original page on the same theme.

Use these instructions with ChatGPT or Claude

This is the template's description of its example, as Convika's AI gets it. Write what you want on the last line, paste it into ChatGPT, Claude, or another AI, and it writes the page as one HTML file.

Make an NPSH available calculator page for operators who check a pump's suction before they start it.

What it calculates:
- NPSHa = (P_surface,abs − P_v) / (ρg) + liquid level above the pump − suction losses, in head of the pumped liquid; a suction lift is a level below 0. g = 9.80665 m/s².
- The surface: open to the air (the atmospheric pressure), closed under a gauge pressure (atmospheric + gauge: never take a gauge reading as absolute), or closed at boiling (the vapour pressure itself).
- From a suction gauge instead: NPSHa = (P_baro + P_gauge) / (ρg) + gauge height above the pump + v²/2g − P_v/(ρg), with v at the gauge.
- Atmospheric pressure by site elevation, the US National Weather Service pressure altitude: P = 1013.25 (1 − h_ft / 145366.45)^(1/0.190284) hPa.
- Water's density and vapour pressure by temperature from the NIST Chemistry WebBook table every 5 °C from 0 to 100 °C: density interpolated straight, vapour pressure on ln P. Another liquid: density = 1000 × its specific gravity, with its vapour pressure as given.
- With the pump's NPSHr: the margin (NPSHa − NPSHr) and the ratio (NPSHa / NPSHr), shown plainly, with no limit of the page's own.
- Inputs: the liquid surface (open, under pressure, at boiling), the site elevation (m or ft), the tank's gauge pressure (kPa or psi), the liquid temperature (°C or °F), the liquid level above the pump (m or ft), the suction losses (m or ft), the pump's NPSHr if known, and another liquid's specific gravity and vapour pressure; or from a suction gauge, the barometric pressure, the gauge reading and height, the flow, and the pipe's inside diameter

How it calculates:
- Write each formula as a plain JavaScript function, with every coefficient, constant, and lookup table written into the file. No eval, no new Function, and no library that parses formulas with them.
- Load nothing from another site and send nothing anywhere: no fetch, no XMLHttpRequest, no form posts. The page computes everything in the browser.
- An iteration or a Goal Seek becomes a loop with a stated tolerance and an iteration cap; when it doesn't settle, say so on the page.
- A lookup (VLOOKUP, XLOOKUP, INDEX/MATCH) becomes a table in the file with the same match rule (exact, or the next row down for an approximate match), interpolated where the sheet interpolates.
- Round only where the sheet rounds, as Excel does (ROUND takes halves away from zero).
- Copy every name, tag, ID, and number the request gives exactly, character for character: P-101 stays P-101.
- Convert units in one place, a table of factors, and check each shown value against its unit label: watts shown as kilowatts are off by 1,000.

What it shows:
- Every input with its label and its unit, prefilled with the example's values, in text fields that open the number keyboard (inputmode="decimal"). Offer a unit switch (SI and US) where the calculation has units.
- The result first: a compact summary of the main result, large, with its unit, right under the title and any unit or method switch and above the inputs, so it shows on a phone's first screen and changes as an input does. It is the page's one aria-live="polite" region. The values in between go below the inputs, each with its name and unit, so someone can check the result against the sheet.
- The results update as soon as an input changes. An input that can't be calculated (empty, zero where it divides, outside the formula's range) gets a short message instead of a wrong number.
- Show 0 for a zero result, never -0, and the same number of decimals for every amount of money.
- A short "How it calculates" section that lists the formulas and their ranges (folded in details and summary, it keeps an arrow that turns when it opens: a summary set to display:flex loses the browser's own), and a last line with the version ("v1", and a date only when the request gives one) and "check its results against your own standard before you rely on them".

Layout: phone first, held upright (390px): labels above fields, two fields to a row, no sideways scrolling, body text 16px, every field and button at least 44px tall (min-height: 44px on each input, select, and button itself, with box-sizing: border-box). On a wide screen, three fields to a row. No images, web fonts, or CSS frameworks: one plain style block.

Write it as one HTML file with the CSS and JavaScript inside. Don't send anything people type anywhere, and don't use image files. Make it work on a phone held upright. Keep the bottom right of the screen clear: a Support button may show there.

That is the example. Keep how it works, its screens, and its feel, and change the content to fit what I want.
What I want: ___

Questions

Does it read the pressure gauge as gauge or absolute?

The tank's pressure and a suction gauge's reading are gauge pressures, and the page adds the atmosphere for you; a vapour pressure is absolute. Taking 50 kPa gauge as absolute is the most common error: on a 90 °C tank it turns 12.60 m of NPSHa into 2.27 m.

What margin over NPSHr should the page ask for?

The one your standard and the pump's maker give: the page shows the margin and the ratio and sets no limit of its own. Ask the AI to show the ratio in red under your rule, such as 1.3, and the page does.

Can it use a liquid other than water?

Yes. Choose another liquid and give its specific gravity and its vapour pressure at the pumping temperature; the heads are then in metres or feet of that liquid. For a liquid you pump every day, ask the AI to add it to the list with its values.

Other templates

  • Class team quiz

    Enter a subject and topic, and the AI makes a team quiz page you can project in class.

  • Personality test

    Pick a theme, and the AI makes a personality test page: a few questions, a result type, and a link to share it.

  • Flashcards and quiz

    List the words as front / back, and the AI makes flashcards you can flip plus a multiple-choice quiz.

  • Memory match

    List the pairs, and you get a memory game page where players flip cards to find matching pairs.

  • Reaction time test

    You get a game page that measures how fast people tap when the screen changes, in milliseconds.

  • Catch game

    Choose what to catch and what to dodge, and you get a game page where things fall from the top of the screen.

  • Science or math simulation

    Say what to simulate and for which grade, and the AI makes a page where students move sliders and watch what changes.

  • Timer, calculator, or tracker

    Pick a timer, a calculator, or a tracker and say what it's for, and the AI makes a tool page that's ready to use as soon as it opens.

  • Event page and sign-up

    Write the event's name, date, and place, and the AI makes a page that announces it and takes sign-ups.

  • Shop menu and info

    Write your shop's name and menu, and the AI makes a page that shows the menu, prices, and hours clearly on a phone.

  • 1 in how many? roll

    List some traits and their options, and you get a page that rolls a random combination, works out how rare it is, and lets players share it.

  • 10-second score attack

    Pick the emoji to tap and the time limit, and you get a game page where players tap pop-up targets for the highest score.

  • Quiz battle

    Write the questions or name a theme, and you get a timed four-choice quiz page where fast answers score more and players share their score to challenge friends.

  • Stack tower

    Pick the emoji that rides on top and the difficulty, and you get a game page where players tap to stack moving blocks as high as they can.

  • Trip itinerary

    Describe your trip and get a draft itinerary with daily plans, a meeting spot, packing and rain options, and a page to share.

  • Field report form

    Turn a site inspection, shift handover, or incident report into a page staff fill in on a phone, add photos to, and hand on as a PDF or on WhatsApp.

  • A profile that looks like you

    Write your name, your links, and what you love, add a vibe like "pastel and a bit silly", and the AI makes a profile that looks like you.

  • Your works and world

    Write your name, your work, and your links, and the AI makes a page that shows your work large and takes commission requests through a form.

  • A link page on your own domain

    Write your name and your links, and the AI makes a page of them in sections. On the Free plan, it can show at your own domain.

  • Calculator from your sheet

    Paste your sheet's inputs, formulas, and units, or a VBA macro, and the AI makes one calculator page your team opens on a phone.

  • Pump head calculator

    A total dynamic head and pump power calculator for water lines, in SI or US units, that the AI fits to your pipe table, your units, and your company.

  • Quote calculator

    A price calculator for your clients or your staff, built from your price table, options, minimum order, and tax, that gives a quote on any phone.

  • Voltage drop calculator

    A voltage drop calculator electricians open on a phone: single-phase, three-phase, or DC, AWG or mm², with the smallest size within your limit.

  • Duct size calculator

    An HVAC duct sizing calculator for phones: the round size by equal friction and a velocity limit, the equal-friction rectangle, and the drop along the duct.

  • Manning's equation calculator

    A Manning's equation calculator for open channels and part-full pipes: flow from depth or normal depth from flow, with the Froude number and critical depth.

  • Slurry pipeline calculator

    A settling slurry calculator: deposition velocity by three correlations, head loss by Durand-Condolios or Wilson-GIW, and the pump's head and power.