PVALVE

Pneumatic Valve

Pneumatics
Run the live example Free · no sign-up · runs in your browser

The Pneumatic Valve represents a proportional or modulating throttle valve. The effective sonic conductance scales with the control signal opening u in [0, 1].

Real-World Analog: Represents a proportional pneumatic control valve, throttle valve, or solenoid valve modulating compressed air flow via an electrical control signal.

Mathematical Model

Ceff(u)=C⋅(leak+(1−leak)⋅u)C_{eff}(u) = C \cdot (leak + (1 - leak) \cdot u)

Combined with ISO 6358 mass flow characteristics.

Inputs & Outputs

Direction ID Label Type Status
→ In port_a A number Required
→ In in u number Optional
→ In port_b B number Required

Parameters

Parameters Label Type Default Description
sonic_conductance Max sonic conductance number 1e-8 Full-scale sonic conductance C at opening u = 1
critical_pressure_ratio Critical ratio (b) number 0.528 Critical pressure ratio b (0.528 for air)
opening Default opening number 1 Valve opening fraction when input u is unwired (0..1)
leakage_fraction Leakage fraction number 0.0001 Residual conductance fraction when shut for numerical conditioning

Usage Examples

Controlled cylinder throttling

In examples/basic-pneumaticvalve.json, a step signal throttles the valve opening from 100 % to 20 % at t = 0.5 s, modulating mass flow into downstream receiver.

Proportional flow regulation

A PID controller adjusts valve opening u to maintain constant chamber pressure under variable load.

Remarks & Best Practices

  • Signal modulation: The u port accepts standard continuous signals in the range [0, 1].
  • Panic-free: Automatically clamps control signals to [0, 1].

Related Components