NWH Aerodynamics
Search Results for

    Show / Hide Table of Contents

    Class ForcedInduction

    Simulates forced induction systems (turbocharger or supercharger) for piston engines. Models turbine RPM inertia, exhaust-driven vs belt-driven boost, wastegate and blow-off valve.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    ForcedInduction
    Namespace: NWH.Aerodynamics.AircraftController.Propulsion.Engines
    Assembly: NWH.Aerodynamics.dll
    Syntax
    [Serializable]
    [RequireComponent(typeof(PistonEngine))]
    public class ForcedInduction : MonoBehaviour

    Fields

    | Edit this page View Source

    boostThresholdRPM

    The RPM % at which the turbo begins making positive pressure.

    Declaration
    [Range(0, 1)]
    [Tooltip("Engine RPM % threshold where turbo becomes effective.")]
    public float boostThresholdRPM
    Field Value
    Type Description
    float
    | Edit this page View Source

    currentBoostPSI

    Current boost pressure in PSI (Pounds per Square Inch). Informational only.

    Declaration
    [Tooltip("Current boost pressure in PSI.")]
    public float currentBoostPSI
    Field Value
    Type Description
    float
    | Edit this page View Source

    efficiency

    Efficiency of the intercooler and compressor. 1.0 = Perfect conversion of pressure to density (unrealistic). 0.7 = Typical for standard intercooled systems.

    Declaration
    [Range(0.5, 1)]
    [Tooltip("Efficiency of the system. Affects how much Boost PSI translates to actual Power.")]
    public float efficiency
    Field Value
    Type Description
    float
    | Edit this page View Source

    forcedInductionType

    Declaration
    public ForcedInduction.ForcedInductionType forcedInductionType
    Field Value
    Type Description
    ForcedInduction.ForcedInductionType
    | Edit this page View Source

    hasBlowOffValve

    Simulates a Blow-Off Valve (BOV). If true, boost drops rapidly when throttle is released.

    Declaration
    public bool hasBlowOffValve
    Field Value
    Type Description
    bool
    | Edit this page View Source

    maxBoostPSI

    The maximum boost pressure the system is configured to produce (PSI). Typical street cars: 6-12 PSI. Performance: 15-25 PSI.

    Declaration
    [Tooltip("Maximum boost pressure in PSI at peak efficiency.")]
    public float maxBoostPSI
    Field Value
    Type Description
    float
    | Edit this page View Source

    normalizedBoost

    Normalized boost value (0 to 1) relative to maxBoostPSI. Useful for UI gauges.

    Declaration
    [Tooltip("Normalized boost value (0 to 1). Used for UI.")]
    [Range(0, 1)]
    public float normalizedBoost
    Field Value
    Type Description
    float
    | Edit this page View Source

    parasiticLoss

    Parasitic loss at max RPM (percent of power lost to drive the belt).

    Declaration
    [Range(0, 0.2)]
    public float parasiticLoss
    Field Value
    Type Description
    float
    | Edit this page View Source

    spoolInertia

    How fast the turbo RPM can change. Lower values = Heavy turbine (Laggy). Higher values = Ceramic/Ball-bearing (Responsive).

    Declaration
    [Range(0.1, 5)]
    [Tooltip("Inertia factor. Lower = More Lag. Higher = Faster Spool.")]
    public float spoolInertia
    Field Value
    Type Description
    float

    Properties

    | Edit this page View Source

    PowerCoefficient

    Gets the current power multiplication coefficient applied to the engine.

    Declaration
    public float PowerCoefficient { get; }
    Property Value
    Type Description
    float

    Methods

    | Edit this page View Source

    Update()

    Declaration
    public void Update()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics