Class in Zendir.Classes | Inherits from UniverseModel
Declaration
class FuelLeakErrorModel;
Description
An error model that simulates fuel leakage at any point in the fuel network. The model tracks
cumulative fuel flow through the parent component and computes a degradation level that
progressively increases the leak fraction. Leaked fuel is removed from downstream components,
creating an observable flow rate discrepancy that operators can use to locate the leak.
The leak rate scales with flow, so reducing pump speed is a valid mitigation strategy.
The rate at which degradation accumulates per kilogram of fuel passed through the component.Higher values cause faster wear. For example, a rate of 1e-5 means the degradation levelincreases by 1e-5 for every kilogram of fuel that flows through the component.
When true, immediately forces maximum degradation (DegradationLevel = 1.0) regardless ofcumulative fuel passed. Useful for simulating sudden seal failure or testing worst-caseleak scenarios.
The fraction of flow that leaks per unit of degradation level.The effective leak fraction is DegradationLevel * LeakCoefficient, capped at MaxLeakFraction.For example, at degradation 0.5 with coefficient 0.01, the leak fraction is 0.005 (0.5% of flow).
Minimum flow rate [kg/s] before leakage begins. Below this threshold the seal retainsenough contact pressure to contain the fluid even when degraded. A value of 0 (default)means any positive flow can leak. Slowing the pump so the flow is below this rateis a valid mitigation that eliminates leakage entirely.
Current mass flow rate of fuel being lost through the leak [kg/s].Equals EffectiveFlowRate * LeakFraction when flow is at or above ,otherwise zero. This is the instantaneous leak rate and will vary with pump speed / flow ratethrough the component.
Maximum fraction of flow that can be lost to leakage, preventing total flow loss even atfull degradation. Clamped between 0 and 1. A value of 0.5 means at most 50% of the flowcan leak regardless of degradation level.