# Ideal-gas state calculation # Scope: Ideal gas law with absolute pressure/temperature; no real gas correction. # Status: illustrative worked example; engineering review pending. # Inputs are example values. Checks are editable example requirements, not standards. amount = 1 mol temperature = 300 K volume = 0.025 m^3 gasConstant = 8.314462618 J/(mol*K) pressure := amount*gasConstant*temperature/volume [kPa] check pressure budget: pressure <= 120 kPa scenario alternative: amount = 0.8 mol