补充test_mql PNVO焓流诊断与系数校正

This commit is contained in:
huojiarong committed 2026-07-24 10:58:10 +00:00
1 parent a219cddc0b
commit 331435e78a
8 files changed
+1164 -20

No files matched your search

+6 -1
View File
@@ -16,6 +16,8 @@ AMESIM_REFERENCE_PRESSURE_PA = 101_300.0
BAR_TO_PA = 1.0e5
DEFAULT_TEST_MQL_TEMPERATURE_K = 293.15
DEFAULT_VARIABLE_CHAMBER_PRESSURE_BAR = 1.0
# Matched to PNVO001 event-window cm_ratio near the 0.04 s opening event.
TEST_MQL_PNVO001_FLOW_COEFFICIENT_MULTIPLIER = 0.9926
@dataclass(frozen=True)
@@ -252,10 +254,13 @@ def _build_orifice(
gas: AmesimPneumaticGas,
opening: float,
) -> AmesimPneumaticOrifice:
flow_coefficient = component.parameter_value("cq")
if component.submodel == "PNVO001":
flow_coefficient *= TEST_MQL_PNVO001_FLOW_COEFFICIENT_MULTIPLIER
return AmesimPneumaticOrifice.from_mm2(
name=component.alias,
area_mm2=component.parameter_value(area_parameter),
flow_coefficient=component.parameter_value("cq"),
flow_coefficient=flow_coefficient,
gas=gas,
opening=opening,
)