Skip to main content
This quickstart builds a simple voltage divider, validates the graph, and runs a steady-state simulation. The result matches hand calculation: I = V / R.

Prerequisites

Install Hardwave:

Build the graph

Both resistors share the same supply voltage. Fan-out from one output to many inputs is always allowed. Hardwave enforces port direction and type compatibility at wiring time. To wire fan-in (many outputs into one input), declare the target port with aggregating_input_port(). See Aggregating Input Ports.

Validate and simulate

The simulation matches hand calculation: I = V / R = 9 / 1000 = 9 mA.

Access results

Components like DCMotor and LiPoCell emit runtime WARNING and FAULT diagnostics when operating limits are exceeded. See Component Faults and Health.

Next Steps

Core Concepts

Understand types, ports, and the component model

Component Faults

Runtime warnings, faults, and degraded component behaviour

Building Graphs

Learn connection rules, validation, and graph editing

Transient Simulation

Step through time and collect time-series data

Aggregating Ports

Wire multiple sources into one input port

Saving Graphs

Save graphs and simulation snapshots to the cloud dashboard

Greenhouse Tutorial

Build custom components and a composite assembly