from pathlib import Path from reportlab.lib import colors from reportlab.lib.enums import TA_CENTER from reportlab.lib.pagesizes import LETTER from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet from reportlab.lib.units import inch from reportlab.platypus import Paragraph, SimpleDocTemplate, Spacer, Table, TableStyle ROOT = Path(__file__).resolve().parents[1] OUT = ROOT / "docs" / "prototype_v0_budget_2026-05-07.pdf" BREAKDOWN = [ ("SS316L pod fabrication, hatch, skid, pressure-test buffer", "$12,000"), ("Internal frame, rails, machining changes, mounts", "$10,000"), ("Penetrators, cable glands, sealed power/data feedthroughs", "$18,000"), ("Closed-loop liquid cooling: cold plates, pump, reservoir, tubing, fittings, coolant", "$22,000"), ("Water-side heat rejection / exchanger / hull interface", "$18,000"), ("Sensors, telemetry, leak detection, shutdown controller", "$12,000"), ("Nitrogen purge/backfill kit, regulator, relief valve, dry-gas circulation fan, desiccant cartridge", "$5,000"), ("Shore power distribution, breakers, cabling, UPS/test power", "$14,000"), ("Networking, fiber/media converters, secure remote access setup", "$6,000"), ("GPU server chassis, CPU, RAM, NVMe, PSU, NICs", "$30,000"), ("3x H100-class PCIe GPUs, estimated $35k each", "$105,000"), ("Test site/tank/pool access, lifting and retrieval hardware", "$12,000"), ("Shipping, import/export, local logistics, spare seals, spare fittings", "$16,000"), ("Integration labor, assembly, wiring, seal cycles, debugging", "$25,000"), ("Contingency buffer", "$25,000"), ("Total full 3x H100-class V0 prototype", "$330,000"), ] SUMMARY = [ ("Pod, cooling, power, telemetry, nitrogen dry-atmosphere system, test, logistics, integration", "$170,000"), ("GPU server excluding GPUs", "$30,000"), ("3x H100-class GPUs", "$105,000"), ("Contingency buffer", "$25,000"), ("Total", "$330,000"), ] def make_table(rows, widths): data = [["Item", "Budget"]] + [[Paragraph(item, TABLE_TEXT), amount] for item, amount in rows] table = Table(data, colWidths=widths, repeatRows=1) table.setStyle( TableStyle( [ ("BACKGROUND", (0, 0), (-1, 0), colors.HexColor("#0F172A")), ("TEXTCOLOR", (0, 0), (-1, 0), colors.white), ("FONTNAME", (0, 0), (-1, 0), "Helvetica-Bold"), ("FONTNAME", (1, 1), (1, -1), "Helvetica-Bold"), ("FONTSIZE", (0, 0), (-1, -1), 8.2), ("GRID", (0, 0), (-1, -1), 0.25, colors.HexColor("#CBD5E1")), ("VALIGN", (0, 0), (-1, -1), "TOP"), ("ALIGN", (1, 1), (1, -1), "RIGHT"), ("ROWBACKGROUNDS", (0, 1), (-1, -2), [colors.white, colors.HexColor("#F8FAFC")]), ("BACKGROUND", (0, -1), (-1, -1), colors.HexColor("#ECFEFF")), ("TEXTCOLOR", (0, -1), (-1, -1), colors.HexColor("#0E7490")), ("LEFTPADDING", (0, 0), (-1, -1), 6), ("RIGHTPADDING", (0, 0), (-1, -1), 6), ("TOPPADDING", (0, 0), (-1, -1), 4), ("BOTTOMPADDING", (0, 0), (-1, -1), 4), ] ) ) return table def add_bullets(story, items): for item in items: story.append(Paragraph(f"- {item}", BODY)) def build(): doc = SimpleDocTemplate( str(OUT), pagesize=LETTER, rightMargin=0.62 * inch, leftMargin=0.62 * inch, topMargin=0.55 * inch, bottomMargin=0.55 * inch, title="Subsea Compute V0 Prototype Budget", author="Subsea Compute", ) story = [ Paragraph("Subsea Compute V0 Prototype Budget", TITLE), Paragraph("Dollar-only budget | May 7, 2026", SUBTITLE), Paragraph("Clean number: $330,000 total.", CALLOUT), Paragraph( "This is the complete budget for a US/coastal controlled-water V0: sealed pod, cooling, power, networking, telemetry, test/retrieval setup, compute server, and 3x H100-class GPUs.", BODY, ), Paragraph("Budget Breakdown", H), make_table(BREAKDOWN, [5.05 * inch, 1.22 * inch]), Spacer(1, 8), Paragraph("Simple Summary", H), make_table(SUMMARY, [5.05 * inch, 1.22 * inch]), Spacer(1, 8), Paragraph("Optional First Build", H), Paragraph( "$100,000 first engineering build: proves pod, seals, nitrogen dry-atmosphere system, cooling loop, telemetry, retrieval, and dummy thermal load before installing expensive H100 GPUs. This is not the full 3x H100 prototype.", BODY, ), Paragraph("Current Proof Points", H), ] add_bullets( story, [ "Supplier GA/CAD and techno-commercial fabrication quote received.", "First pod architecture defined around retrieve-to-service operation.", "Thermal direction: closed-loop liquid cooling plus water-side heat rejection.", "TensorDock is open to evaluating capacity if reliability is proven.", "Seabase.ai call scheduled around prototype funding / US build direction.", "University of Houston technical review started.", ], ) story.extend( [ Paragraph("Investor Framing", H), Paragraph( "The full 3x H100-class V0 prototype is budgeted at $330k. The smaller first-check path is $100k to build and test the non-H100 engineering pod before risking GPUs.", BODY, ), Paragraph("Next Milestone", H), Paragraph( "30-day controlled-water proof: no leaks, stable thermals, remote monitoring, controlled shutdown behavior, successful retrieval/inspection, and clear requirements for GPU operator evaluation.", BODY, ), ] ) doc.build(story) styles = getSampleStyleSheet() TITLE = ParagraphStyle( "TitleCustom", parent=styles["Title"], alignment=TA_CENTER, fontName="Helvetica-Bold", fontSize=21, leading=25, textColor=colors.HexColor("#0F172A"), spaceAfter=5, ) SUBTITLE = ParagraphStyle( "Subtitle", parent=styles["BodyText"], alignment=TA_CENTER, fontSize=9.5, leading=12, textColor=colors.HexColor("#475569"), spaceAfter=10, ) H = ParagraphStyle( "Heading", parent=styles["Heading2"], fontName="Helvetica-Bold", fontSize=11.5, leading=14, textColor=colors.HexColor("#0F172A"), spaceBefore=9, spaceAfter=5, ) BODY = ParagraphStyle( "Body", parent=styles["BodyText"], fontSize=8.9, leading=12, textColor=colors.HexColor("#1E293B"), spaceAfter=4, ) TABLE_TEXT = ParagraphStyle( "TableText", parent=BODY, fontSize=8.2, leading=10, spaceAfter=0, ) CALLOUT = ParagraphStyle( "Callout", parent=BODY, alignment=TA_CENTER, backColor=colors.HexColor("#ECFEFF"), borderColor=colors.HexColor("#06B6D4"), borderWidth=0.8, borderPadding=7, fontName="Helvetica-Bold", fontSize=14, leading=17, textColor=colors.HexColor("#0E7490"), spaceBefore=2, spaceAfter=8, ) if __name__ == "__main__": build()