Engineering
Hydrofoil: takeoff above water
Accelerate a boat onto submerged wings. Balance lift, buoyancy, drag and pitch, switch off the height controller and watch the return to displacement sailing.

Try this
Let the boat accelerate with automatic trim. The hull rises as the foils take its weight. Cut motor power, shift the load or add gentle waves. Manual trim controls apply when automatic trim is off.
The model and its limits
Longitudinal rigid-body model with a rectangular displacement hull and a smooth approximate foil polar. Actuator speed and propulsion power are bounded. Prescribed deep-water waves; no roll, cavitation or CFD. Foam is illustrative.
Equations used in the module
Equations B = ρ g V L = ρ v² S C_L / 2 D = ρ v² S C_D / 2 C_Di = C_L² / (π e AR) m dv/dt = Σ F


