nasa / gunns

The NASA General-Use Nodal Network Solver (GUNNS) software
Other
46 stars 12 forks source link

Model inlet dependency in pressure sensitive valves #109

Closed jasonlharvey closed 3 months ago

jasonlharvey commented 4 months ago

Upgrade GunnsFluidPressureSensitiveValve, GunnsFluidRegulatorValve, and GunnsFluidReliefValve to model inlet dependency, or "Supply Pressure Effect", which is drift in crack pressure, full open pressure, and reseat pressure as a function of inlet (Port 0) pressure. Inlet dependency is a common feature of real-world valves.

This will be an optional feature, and be modeled as a linear function of inlet pressure, with the 0th and 1st order line coefficients defined in the link configuration data. These will default to zero, which has no bias effect. This line will define the amount of bias to the normal control pressures (crack, full open, reseat) defined in the config data. All 3 control pressures (crack, full open, reseat) will be biased equally.

The user will have to take care not to configure extreme amounts of drift, as this could cause control pressures to go negative, or cause instability and oscillation in valve position, pressures and flows.