Blocks

Explore all BlockWerk simulation blocks: mathematical operations, PID controllers, transfer functions, integrators, signal sources, and displays. Free in your browser.

Free online tools: PID Tuner Bode Plot Generator Simulink Alternative Xcos Alternative

Advanced

Analysis

Connectivity

Continuous

ƒ
2nd Order System
SecondOrderSystem

The SecondOrderSystem block implements a standard second-order continuous-time linear dynamic system. Parameterized intuitively by natural frequency (

M
DC Motor
DCMotor

The DCMotor block models an electromechanical permanent-magnet direct-current motor plant. It captures the dynamic interaction between electrical arma

d/dt
Derivative
Derivative

Computes the continuous-time rate of change (time derivative $du/dt$) of an incoming signal with integrated first-order high-frequency low-pass filter

∫
Integrator
Integrator

Computes the continuous-time integral (accumulation) of an incoming signal over time. Represents the canonical $1/s$ operator in the Laplace domain an

ƒ
Lead-Lag
LeadLag

Implements a first-order continuous dynamic lead-lag compensator. Parameterized by a lead time constant $\tau_1$ and a lag time constant $\tau_2$. Whe

PID
PID Controller
PIDController

The PIDController block implements an industrial-grade continuous-time Proportional-Integral-Derivative feedback controller. It combines immediate err

A-B-C-D
State Space
StateSpace

The StateSpace block implements general continuous-time linear time-invariant (LTI) dynamic systems formulated in matrix state-space notation. Represe

H(s)
Transfer Function
TransferFunction

The TransferFunction block implements arbitrary linear time-invariant (LTI) continuous dynamic systems defined by numerator and denominator polynomial

Z/P
Zero-Pole
ZeroPole

The ZeroPole block implements continuous-time linear time-invariant (LTI) dynamic systems defined by their transmission zeros, system poles, and scala

Discontinuous

Discrete

Dynamics

Hydraulics

Q
Flow Sensor
FlowSensor

The Flow Sensor sits in a line, between A and B, and turns the volume flow through it into an ordinary signal. It adds no pressure drop.

TANK
Fluid Reservoir
FluidReservoir

The Fluid Reservoir is a tank or supply held at a set gauge pressure. Every hydraulic network needs at least one: it is the network's reference, and i

GP
Gear Pump
GearPump

The Gear Pump is a positive-displacement pump between port A (suction) and port B (outlet). Each shaft revolution moves one displacement of fluid from

FLUID
Hydraulic Fluid
HydraulicFluid

The Hydraulic Fluid block sets the fluid properties for a hydraulic network in exactly one place. It specifies the medium, temperature, density, dynam

PIPE
Hydraulic Pipe
HydraulicPipe

The Hydraulic Pipe is a straight round pipe or hose between ports A and B. Its pressure drop follows the flow through it: proportional at low Reynolds

VALVE
Hydraulic Valve
HydraulicValve

The Hydraulic Valve is a sharp-edged orifice whose flow area follows an opening between 0 (shut) and 1 (fully open). Wire a signal to Opening to drive

VOL
Hydraulic Volume
HydraulicVolume

The Hydraulic Volume is a chamber of fluid that compresses slightly: pressure builds as flow goes in. Put one where a line, cylinder or hose stores oi

P
Pressure Sensor
PressureSensor

The Pressure Sensor turns the gauge pressure at its port into an ordinary signal, for a scope, a display or a controller. It draws no flow. > **Real-

PRV
Relief Valve
ReliefValve

The Relief Valve holds until the pressure drop across it reaches the cracking pressure, then passes flow so the pressure rises only slowly above it. P

Layout

Logic

Math

📊
2-D Lookup Table
LookupTable2D

The LookupTable2D block maps two independent input signals ($x$ and $y$) to an output value $z$ using bilinear or bicubic spline interpolation over a

|·|
Absolute Value
Abs

The Absolute Value block computes the mathematical magnitude (absolute value) $|u(t)|$ of the input signal. The output is always non-negative regardle

÷
Divide
Divide

The `Divide` block performs algebraic division of two incoming signals: the numerator signal connected to the upper port (`num`) and the denominator s

K
Gain
Gain

Multiplies the input signal by a constant scalar gain factor $K$. Serves as the fundamental scaling element in linear dynamical systems, signal proces

⌇
Hill Equation
HillEquation

The HillEquation block implements the classic sigmoidal $E_{\max}$ pharmacodynamic dose-response model. It describes the non-linear relationship betwe

📋
Lookup Table
LookupTable

The LookupTable block implements a one-dimensional lookup table with configurable linear or cubic spline interpolation and extrapolation. It maps an a

f(x)
Math Function
MathFunction

The MathFunction block applies a selectable analytical or integer-rounding mathematical operation to the incoming scalar signal $u(t)$. Supported oper

↕
Min/Max
MinMax

Evaluates and outputs the minimum or maximum scalar value across all connected input signals. Supports multiple simultaneous input connections on a si

×
Product
Product

Calculates the algebraic product of all connected input signals. Features a multi-wire input terminal (`multiple: true`), enabling an arbitrary number

√
Square Root
SquareRoot

The SquareRoot block calculates the $n$-th root of an input signal. Although commonly used to compute standard square roots ($n = 2$), the block suppo

−
Subtraction
Subtraction

The Subtraction block performs algebraic subtraction between two input signals: output = in1 − in2 (minuend minus subtrahend). Multiple connections to

+
Sum
Sum

Calculates the algebraic sum of all connected input signals. Features a multi-wire input terminal (`multiple: true`), enabling an arbitrary number of

trig
Trigonometric
Trigonometric

The Trigonometric block evaluates analytical trigonometric and inverse trigonometric functions on input signals. It provides seven standard functions—

Mechanics

WSENS
Angular Velocity Sensor
AngularVelocitySensor

The Angular Velocity Sensor block measures the rotational speed difference between two conserving mechanical flanges and outputs it as a causal contin

WS
Angular Velocity Source
AngularVelocitySource

The Angular Velocity Source block models an ideal mechanical velocity source maintaining a prescribed angular velocity difference between two conservi

FSENS
Force Sensor
ForceSensor

The ForceSensor block measures the through transmitted mechanical force passing between its terminal flanges (`flange_a` and `flange_b`) and outputs i

FSRC
Force Source
ForceSource

The ForceSource block models an ideal mechanical force generator in 1D translational networks. It injects a prescribed through-force between its drivi

INERT
Inertia
Inertia

The Inertia block models a rigid rotating body storing rotational kinetic energy. It represents flywheels, motor rotors, gear wheels, and driveline lo

MASS
Mass
Mass

The Mass block models a rigid 1D body moving with linear velocity and storing kinetic energy. It represents moving carriages, vehicle bodies, elevator

RACK
Rack and Pinion
RackAndPinion

The RackAndPinion block models an electromechanical and mechanical transducer converting rotational motion into linear translational motion and vice v

DAMP
Rotational Damper
RotationalDamper

The Rotational Damper block models a linear viscous rotary damper dissipating rotational mechanical energy into heat. It represents bearing friction,

ROTGND
Rotational Reference
RotationalReference

The Rotational Reference block establishes the absolute stationary reference frame ($\omega = 0\text{ rad/s}$) for a rotational physical network. In a

SPRING
Rotational Spring
RotationalSpring

The Rotational Spring block models a linear elastic torsional spring. It represents flexible coupling elements, torsion bars, elastic shafts, and comp

TSENS
Torque Sensor
TorqueSensor

The Torque Sensor block measures the transmitted mechanical torque flowing through an active rotary shaft branch and outputs it as a causal continuous

TS
Torque Source
TorqueSource

The Torque Source block models an ideal mechanical torque generator driving a rotational network. It generates a prescribed torque between two conserv

LDAMP
Translational Damper
TranslationalDamper

The TranslationalDamper block models a linear viscous dashpot or shock absorber operating in 1D translational mechanical networks. It dissipates mecha

TRGND
Translational Reference
TranslationalReference

The TranslationalReference block clamps the velocity of its conserving mechanical terminal (`flange`) to zero meters per second ($v = 0\text{ m/s}$).

LSPRNG
Translational Spring
TranslationalSpring

The TranslationalSpring block models a linear elastic mechanical spring operating in 1D translational networks. It represents coil springs, suspension

VSENS
Velocity Sensor
VelocitySensor

The VelocitySensor block measures the relative or absolute linear velocity between two conserving mechanical flanges and outputs it as a causal contin

VSRC
Velocity Source
VelocitySource

The VelocitySource block models an ideal mechanical velocity generator in 1D translational networks. It imposes a prescribed relative linear velocity

Physical Networks

Pneumatics

ATM
Pneumatic Atmosphere
PneumaticAtmosphere

The Pneumatic Atmosphere block establishes the reference potential for the pneumatic network, fixing ambient atmospheric pressure at 101325 Pa (1.0132

CYL
Pneumatic Cylinder
PneumaticCylinder

The Pneumatic Cylinder is a double-acting cross-domain actuator converting compressed air energy into mechanical translational force and motion. Diffe

MSENS
Pneumatic Mass Flow Sensor
PneumaticMassFlowSensor

The Pneumatic Mass Flow Sensor measures through mass flow rate entering terminal A and exiting terminal B with zero pressure drop. > **Real-World Ana

MSRC
Pneumatic Mass Flow Source
PneumaticMassFlowSource

The Pneumatic Mass Flow Source injects a specified mass flow rate m_dot into the pneumatic network, acting as a Neumann boundary condition. > **Real-

ORIF
Pneumatic Orifice
PneumaticOrifice

The Pneumatic Orifice models a fixed restriction, throttle nozzle, or constriction adhering strictly to ISO 6358 compressible gas dynamics. > **Real-

PPIPE
Pneumatic Pipe
PneumaticPipe

The Pneumatic Pipe models an airline, hose, or distribution manifold causing pressure drop and flow resistance according to geometry and fluid frictio

PSENS
Pneumatic Pressure Sensor
PneumaticPressureSensor

The Pneumatic Pressure Sensor measures differential or absolute pneumatic pressure across terminals A and B without drawing gas mass flow. > **Real-W

PSRC
Pneumatic Pressure Source
PneumaticPressureSource

The Pneumatic Pressure Source represents a regulated compressor supply, pressure regulator, or air header maintaining a specified pressure difference

TANK
Pneumatic Tank
PneumaticTank

The Pneumatic Tank models an air receiver or pressure vessel that stores compressed gas. Mass flow entering the port raises pressure according to the

PVALVE
Pneumatic Valve
PneumaticValve

The Pneumatic Valve represents a proportional or modulating throttle valve. The effective sonic conductance scales with the control signal opening u i

Signal Routing

Sinks

Sources

🕐
Clock
Clock

Outputs the current simulation elapsed time $t$ in physical seconds. Acts as an authoritative time source for synthesizing time-dependent waveforms, d

C
Constant
Constant

The Constant block is a fundamental signal source that provides a steady numerical output value throughout the entire simulation. It has no input port

🕹
Joystick 2D
Joystick2D

The Joystick2D block provides an interactive on-canvas two-axis thumbstick control that allows simultaneous multi-variable steering during live simula

⌨
Keyboard Input
KeyboardInput

The KeyboardInput block enables real-time manual control of simulation models using standard keyboard inputs (Arrow keys or WASD keys). Clicking the b

📊
Pulse Generator
PulseGenerator

The PulseGenerator block generates periodic or bounded square-wave pulse signals with configurable amplitude, period, duty cycle, and phase delay. It

ƒ
Ramp
Ramp

Generates a linearly increasing or decreasing signal starting at a specified simulation time and advancing at a constant slope (rate of change). Unlik

🎲
Random
RandomNumber

The RandomNumber block generates pseudo-random scalar numbers drawn from either a uniform or a Gaussian (normal) statistical distribution. It is widel

📊
Signal Generator
SignalGenerator

The SignalGenerator block produces standard time-varying periodic waveforms for simulation excitation, dynamic frequency-response characterization, an

🎚
Slider
Slider

The Slider block provides an interactive on-canvas graphical fader control that allows users to adjust signals or project variables live during a simu

⏫
Step
Step

Generates a step function (Heaviside step signal) that abruptly transitions from an initial value to a final value at a designated simulation timestam

Subsystems

Thermal

Verification

Visualization